ID2D1SimplifiedGeometrySink interface (d2d1.h)

Describes a geometric path that does not contain quadratic bezier curves or arcs.


The ID2D1SimplifiedGeometrySink interface inherits from the IUnknown interface. ID2D1SimplifiedGeometrySink also has these types of members:


The ID2D1SimplifiedGeometrySink interface has these methods.


Creates a sequence of cubic Bezier curves and adds them to the geometry sink.

Creates a sequence of lines using the specified points and adds them to the geometry sink.

Starts a new figure at the specified point.

Closes the geometry sink, indicates whether it is in an error state, and resets the sink's error state.

Ends the current figure; optionally, closes it.

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

Specifies stroke and join options to be applied to new segments added to the geometry sink.


A geometry sink consists of one or more figures. Each figure is made up of one or more line or Bezier curve segments. To create a figure, call the BeginFigure method and specify the figure's start point, then use AddLines and AddBeziers to add line and Bezier segments. When you are finished adding segments, call the EndFigure method. You can repeat this sequence to create additional figures. When you are finished creating figures, call the Close method.

To create geometry paths that can contain arcs and quadratic Bezier curves, use an ID2D1GeometrySink.


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]
Target Platform Windows
Header d2d1.h

See also