GfxSetTextAlign
|
Low-level graphics |
SYNTAX | GfxSetTextAlign( align ) |
RETURNS | NOTHING |
FUNCTION | Sets the text-alignment flags.
The GfxTextOut function uses these flags when positioning a string of text on a display or device. The flags specify the relationship between a specific point and a rectangle that bounds the text. The coordinates of this point are passed as parameters to the TextOut member function. The rectangle that bounds the text is formed by the adjacent character cells in the text string. Parameters:
NOTE: This is LOW-LEVEL graphic function. To learn more about low-level graphic functions please read TUTORIAL: Using low-level graphics. |
EXAMPLE | GfxSetTextAlign( 6 | 24 ); // center and baseline alignment |
SEE ALSO | GfxSetTextColor() function , GfxTextOut() function , GfxSetBkColor() function , GfxSetBkMode() function , GfxSelectFont() function |
The GfxSetTextAlign function is used in the following formulas in AFL on-line library:
See updated/extended version on-line.