Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
EngineSetFontContext
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
void EngineSetFontContext(lpFont, wCharRot)
LPFONTINFO lpFont;
WORD wCharRot;
 
The EngineSetFontContext sets the current engine font to the given font. The
function directs GDI and the TrueType rasterizer to precompute values to be
used with this font.
 
A driver must call this function prior to calling the EngineGetGlyphBmp
function.
 
Import Module.Ordinal: GDI.304.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
lpFont     Points to a FONTINFO structure specifying the font to be set. The
           structure must have been previously filled using the
           EngineRealizefont function.
 
wCharRot   Specifies the angle of rotation (in tenths of a degree,
           counterclockwise) for the current font.
 
Return Value
 
The function has no return value.
 
See Also
 
EngineGetGlyphBmp, EngineRealizeFont