Documentation Project 1
ContentsIndexHome
PreviousUpNext
sack::image::GetStringRenderSizeFontEx Function
C++
__cdecl IMAGE_PROC _32 GetStringRenderSizeFontEx(CTEXTSTR pString, _32 nLen, _32 * width, _32 * height, _32 * charheight, Font UseFont);
Parameters 
Description 
CTEXTSTR pString 
the string to measure 
_32 nLen 
the number of characters in the string 
_32 * width 
a pointer to a 32 bit value to get resulting width 
_32 * height 
a pointer to a 32 bit value to get resulting height 
_32 * charheight 
the actual height of the characters (as reports by line) 
Font UseFont 
a Font to use. If NULL use a default internal font. 

Fill the width and height with the actual size of the string as it is drawn. (may be above or below the original rectangle)

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