IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


GcErrorCode gcDrawTextFormatV ( GcImage targetImage,
unsigned short  x,
unsigned short  y,
const char *  format,
va_list  argumentList 
)

This function, like vprintf(), builds an output string based on a format string and an argument list of the type va_list. It then calls gcDrawText() to draw the output string onto an image or the frame buffer.
The currently selected font will be used.
For details on the format string and the argument list, please refer to the documentation of vprintf().

Parameters:
targetImage Pointer to the GcImage object to operate on; NULL for the frame buffer
x Designated x coordinate of the upper left corner of the text output
y Designated y coordinate of the upper left corner of the text output
format Format string
argumentList Argument list
Returns:
One of the following error codes is returned:
Since:
1.00
Targets:

GC01

GC04

X

X

See also:
gcDrawTextFormat, gcDrawText, gcSetFont, gcSetTextEncoding





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Tue Jun 27 14:21:34 2017 by Doxygen 1.6.1