Enum D2D1DrawTextOptions
Specifies whether text snapping is suppressed or clipping to the layout rectangle is enabled.
Namespace: JeremyAnsel.DirectX.D2D1
Assembly: JeremyAnsel.DirectX.D2D1.dll
Syntax
[Flags]
public enum D2D1DrawTextOptions
Fields
| Name | Description |
|---|---|
| Clip | Text is clipped to the layout rectangle. |
| EnableColorFont | In Windows 8.1 and later, text is rendered using color versions of glyphs, if defined by the font. |
| NoSnap | Text is not vertically snapped to pixel boundaries. This setting is recommended for text that is being animated. |
| None | Text is vertically snapped to pixel boundaries and is not clipped to the layout rectangle. |