__cdecl IMAGE_PROC void PutStringInvertFontEx(Image pImage, S_32 x, S_32 y, CDATA color, CDATA background, CTEXTSTR pc, _32 nLen, Font font); #define PutStringInvert( pi, x, y, fore, back, pc ) PutStringInvertFontEx( pi, x, y, fore, back, pc,strlen(pc), NULL ) #define PutStringInvertEx( pi, x, y, fore, back, pc, nLen ) PutStringInvertFontEx( pi, x, y, fore, back, pc, nLen, NULL ) #define PutStringInvertFont( pi, x, y, fore, back, pc, nLen ) PutStringInvertFontEx( pi, x, y, fore, back, pc, strlen(pc), font )
Parameters |
Description |
Image pImage |
image to draw string into |
S_32 x |
x position of the string |
S_32 y |
y position of the string |
CDATA color |
color of the data drawn in the font |
CDATA background |
color of the data not drawn in the font |
CTEXTSTR pc |
pointer to constant text |
_32 nLen |
length of text to output |
Font font |
the font to use. NULL use an internal default font. |
Outputs a string in the specified font, from the specified point, text is drawn upside down, and goes to the left from the point. the point becomes the bottom right of the rectangle output.
Copyright (c) 2010. All rights reserved.
|
What do you think about this topic? Send feedback!
|