D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION enumeration

Specifies the pixel snapping policy when rendering color bitmap glyphs.

Syntax


typedef enum D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION { 
  D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT  = 0,
  D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE  = 1
} D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION;

Constants

D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT

Color bitmap glyph positions are snapped to the nearest pixel if the bitmap resolution matches that of the device context.

D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DISABLE

Color bitmap glyph positions are not snapped.

Requirements

Header

D2d1_3.h

 

 

Show: