D2D1_FIGURE_BEGIN enumeration (d2d1.h)

Indicates whether a specific ID2D1SimplifiedGeometrySink figure is filled or hollow.

Syntax

typedef enum D2D1_FIGURE_BEGIN {
  D2D1_FIGURE_BEGIN_FILLED = 0,
  D2D1_FIGURE_BEGIN_HOLLOW = 1,
  D2D1_FIGURE_BEGIN_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_FIGURE_BEGIN_FILLED
Value: 0
Indicates the figure will be filled by the FillGeometry (ID2D1CommandSink::FillGeometry
or ID2D1RenderTarget::FillGeometry) method.
D2D1_FIGURE_BEGIN_HOLLOW
Value: 1
Indicates the figure will not be filled by the FillGeometry (ID2D1CommandSink::FillGeometry
or ID2D1RenderTarget::FillGeometry) method and will only consist of an outline.
Moreover, the bounds of a hollow figure are zero.
D2D1_FIGURE_BEGIN_HOLLOW should be used for stroking, or for other geometry operations.
D2D1_FIGURE_BEGIN_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

See also

ID2D1SimplifiedGeometrySink

ID2D1SimplifiedGeometrySink::BeginFigure

Path Geometries Overview