|
|
От: |
Balrog
|
|
| Дата: | 09.01.04 14:26 | ||
| Оценка: | |||
void OutText(HDC dc)
{
int Width = 0;
int Offset = 0;
char sz[2] = "\0";
for(int i = 32; i <= 255; i++) {
MoveToEx(dc, Offset + 1, 0, NULL);
sz[0] = i;
GetCharWidth(dc, i, i, &Width);
TextOut(dc, Offset, 2, sz, 1);
Offset += Width + 1;
LineTo(dc, Offset, 0);
}
}