NAME ==== vg_draw_text() - draw a text SYNOPSIS ======== void vg_draw_text(bitmap * bmp, int fc, int x, int y, const char * text, const char * font, int trans) DESCRIPTION =========== Draws a textstring. bmp is the bitmap, into which is drawed, or NULL for the window. fc is the color-index for the text color. x and y are the destination coordinates: the upper left position of the text. text is the text itself. font is the name of a font-file (refer to Understanding fonts and text) or NULL=default font: 8x8.font trans may be RGB_FULL for copying every pixel or RGB_TRANS for omitting the black pixels (color-index=RGB_BLACK) (refer to Understanding colormap). RETURN VALUE ============ No value is returned. SEE ALSO ======== Index Understanding drawing vg_draw_pixel() vg_draw_line() vg_draw_box() vg_draw_circle() vg_draw_fillout()