Documentation Project 1
sack::image::PutStringFontEx Function
__cdecl IMAGE_PROC void PutStringFontEx(Image pImage, S_32 x, S_32 y, CDATA color, CDATA background, CTEXTSTR pc, _32 nLen, Font font);
#define PutString(pi,x,y,fore,back,pc) PutStringFontEx( pi, x, y, fore, back, pc, strlen(pc), NULL )
#define PutStringEx(pi,x,y,color,back,pc,len) PutStringFontEx( pi, x, y, color,back,pc,len,NULL )
#define PutStringFont(pi,x,y,fore,back,pc,font) PutStringFontEx(pi,x,y,fore,back,pc,strlen(pc), font )
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 
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 right side up and godes from left to right. The point becomes the top left of the rectangle output.

Copyright (c) 2010. All rights reserved.
What do you think about this topic? Send feedback!