561 |
|
|
562 |
#define FONT_ZOOM 4 |
#define FONT_ZOOM 4 |
563 |
|
|
564 |
void draw_num(IMAGE * img, const int stride, const int height, |
static void |
565 |
|
draw_num(IMAGE * img, const int stride, const int height, |
566 |
const char * font, const int x, const int y) |
const char * font, const int x, const int y) |
567 |
{ |
{ |
568 |
int i, j; |
int i, j; |
591 |
|
|
592 |
va_start(args, fmt); |
va_start(args, fmt); |
593 |
vsprintf(buf, fmt, args); |
vsprintf(buf, fmt, args); |
594 |
|
va_end(args); |
595 |
|
|
596 |
for (i = 0; i < buf[i]; i++) { |
for (i = 0; i < buf[i]; i++) { |
597 |
const char * font; |
const char * font; |