ID2D1SimplifiedGeometrySink interface (d2d1.h)

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

Inheritance

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

Methods

The ID2D1SimplifiedGeometrySink interface has these methods.

 
ID2D1SimplifiedGeometrySink::AddBeziers

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

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

Starts a new figure at the specified point.
ID2D1SimplifiedGeometrySink::Close

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

Ends the current figure; optionally, closes it.
ID2D1SimplifiedGeometrySink::SetFillMode

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

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

Remarks

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.

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

See also

ID2D1GeometrySink

IUnknown