Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::InternalRenderFont Function
C++
__cdecl IMAGE_PROC Font InternalRenderFont(_32 nFamily, _32 nStyle, _32 nFile, S_32 nWidth, S_32 nHeight, _32 flags);
Font (* InternalRenderFont)(_32 nFamily , _32 nStyle , _32 nFile , S_32 nWidth , S_32 nHeight , _32 flags);
Parameters 
Description 
_32 nFamily 
The number of the family in the cache. 
_32 nStyle 
The number of the style in the cache. 
_32 nFile 
The number of the file in the cache. 
S_32 nWidth 
the width to use for rendering characters (in pixels) 
S_32 nHeight 
the height to use for rendering characters (in pixels) 
_32 flags 
0 = render mono. 2=render 2 bits, 3=render 8 bit. 

A Font which can be used to output. If the file exists. NULL on failure.

Creates a font based on indexes from the internal font cache. This is used by the FontPicker dialog to choose a font. The data the dialog used to render the font is available to the application, and may be passed back for rendering a font without knowing specifically what the values mean.

Used internally for FontPicker dialog, see InternalRenderFontFile

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!