GfxGetTextWidth
|
Low-level graphics |
| SYNTAX | GfxGetTextWidth(''text'') |
| RETURNS | NUMBER |
| FUNCTION | The function returns pixel width of specified string. NOTE: it is slow because it has to create temporary DC and font to measure the text. It takes 40us (microseconds), that is about 40 times more than other Gfx functions. |
| EXAMPLE | GfxSetZOrder(5 ); |
| SEE ALSO | GfxTextOut() function |
The GfxGetTextWidth function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.