GLYPHPOS structure

The GLYPHPOS structure is used by GDI to provide a graphics driver with a glyph's description and position.

Syntax


typedef struct _GLYPHPOS {
  HGLYPH   hg;
  GLYPHDEF *pgdf;
  POINTL   ptl;
} GLYPHPOS, *PGLYPHPOS;

Members

hg

Handle to the glyph.

pgdf

Pointer to a GLYPHDEF union.

ptl

Specifies a POINTL structure that contains the coordinates of the point in device space where the character origin of the glyph should be placed.

Remarks

For printer drivers:

If a printer graphics DLL is executing in user mode, and if the DLL has received the GLYPHPOS structure as input to DrvTextOut or as a result of calling STROBJ_bEnum (see STROBJ), then the pgdf member is always NULL. In such cases, the DLL can call FONTOBJ_cGetGlyphs to obtain the glyph's bitmap or outline.

Requirements

Header

Winddi.h (include Winddi.h)

See also

STROBJ
GLYPHDEF
STROBJ_bEnum
STROBJ_vEnumStart
DrvTextOut

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft