D2D1_GEOMETRY_SIMPLIFICATION_OPTION enumeration (d2d1.h)
Specifies how a geometry is simplified to an ID2D1SimplifiedGeometrySink.
Syntax
typedef enum D2D1_GEOMETRY_SIMPLIFICATION_OPTION {
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES = 0,
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES = 1,
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_FORCE_DWORD = 0xffffffff
} ;
Constants
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_CUBICS_AND_LINES Value: 0 The output can contain cubic Bezier curves and line segments. |
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_LINES Value: 1 The output is flattened so that it contains only line segments. |
D2D1_GEOMETRY_SIMPLIFICATION_OPTION_FORCE_DWORD Value: 0xffffffff |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
Header | d2d1.h |