IPC@CHIP® Graphics Library – API Documentation

Header image

Main page


unsigned short gcGetTextWidth ( const char *  text  ) 

This function calculates the width of a given string (in pixels) based on the current font.

Parameters:
text String whose width is to be calculated
Returns:
Width of the given text in pixels, 0 on error
Since:
1.00
Targets:

GC01

GC04

X

X

See also:
gcGetTextHeight, gcGetMaxTextLength
Examples:
example04.c, and example05.c.





Top of page | Main page

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