SMALLBITGLYPH


SMALLBITGLYPH  struc
   sbgOrgX    db  0
   sbgOrgY    db  0
   sbgWidth   db  0
   sbgHeight  db  0
   sbgPixels  dw  0
SMALLBITGLYPH  ends

This structure is the header for a glyph stored in bit-packed row-oriented format. The glyph bitmap is stored immediately after this structure. Bit-packed format means that the glyph rows are packed together end-to-end. There is no padding out to byte boundaries at the end of a row.

sbgOrgX

Distance from glyph origin to left edge of the glyph bitmap.

sbgOrgY

Distance from glyph origin to top edge of the glyph bitmap.

sbgWidth

Width of glyph bitmap in pixels.

sbgHeight

Height of glyph bitmap in pixels.

sbgPixels

Total number of pixels in the glyph.

See also NewFontSeg