D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION enumeration (d2d1_3.h)

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_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_DEFAULT
Value: 0
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
Value: 1
Color bitmap glyph positions are not snapped.
D2D1_COLOR_BITMAP_GLYPH_SNAP_OPTION_FORCE_DWORD
Value: 0xffffffff

Requirements

Requirement Value
Header d2d1_3.h