ID2D1SimplifiedGeometrySink::SetFillMode method

Specifies the method used to determine which points are inside the geometry described by this geometry sink and which points are outside.

Syntax

void SetFillMode(
  D2D1_FILL_MODE fillMode
);

Parameters

fillMode

Type: D2D1_FILL_MODE

The method used to determine whether a given point is part of the geometry.

Return Value

This method does not return a value.

Remarks

The fill mode defaults to D2D1_FILL_MODE_ALTERNATE. To set the fill mode, call SetFillMode before the first call to BeginFigure. Not doing will put the geometry sink in an error state.

Requirements

   
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]
Target Platform Windows
Header d2d1.h
Library D2d1.lib
DLL D2d1.dll

See Also

ID2D1SimplifiedGeometrySink