D2D1_FIGURE_BEGIN enumeration

Indicates whether a specific ID2D1SimplifiedGeometrySink figure is filled or hollow.

Syntax


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

Constants

D2D1_FIGURE_BEGIN_FILLED

Indicates the figure will be filled by the FillGeometry (ID2D1CommandSink::FillGeometry or ID2D1RenderTarget::FillGeometry) method.

D2D1_FIGURE_BEGIN_HOLLOW

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.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

D2d1.h

See also

Path Geometries Overview
ID2D1SimplifiedGeometrySink::BeginFigure
ID2D1SimplifiedGeometrySink

 

 

Show: