Simulation support:

None. This function is mandatory for all drivers.

Description:

GreRealizeFont requests the presentation driver to realize or delete a font.

This function must be supported by the presentation driver. GreRealizeFont is called during the processing of GpiCreateLogFont to realize the specified logical font. This function call can be handled by bit-map simulation.

#define INCL_GRE_DEVMISC2
#include <os2.h>

HDC        hdc;         /*  Device context handle. */
ULONG      cmdCommand;  /*  Command. */
PFATTRS    pLogFont;    /*  Pointer to a logical font. */
PULONG     pFont;       /*  Pointer or Handle to font. */
PVOID      pInstance;   /*  Pointer to instance data. */
ULONG      lFunction;   /*  High-order WORD=flags; low-order WORD=NGreRealizeFont. */
ULONG      rc;          /*  Return Code. */

rc = GreRealizeFont(hdc, cmdCommand, pLogFont,
       pFont, pInstance, lFunction);


[Back: GreRealizeFont]
[Next: GreRealizeFont Parameter - hdc]