ID2D1SimplifiedGeometrySink::AddLines method
Creates a sequence of lines using the specified points and adds them to the geometry sink.
Syntax
virtual void AddLines( [in] const D2D1_POINT_2F *points, UINT pointsCount ) = 0;
Parameters
- points [in]
-
Type: const D2D1_POINT_2F*
A pointer to an array of one or more points that describe the lines to draw. A line is drawn from the geometry sink's current point (the end point of the last segment drawn or the location specified by BeginFigure) to the first point in the array. if the array contains additional points, a line is drawn from the first point to the second point in the array, from the second point to the third point, and so on.
- pointsCount
-
Type: UINT
The number of points in the points array.
Return value
This method does not return a value.
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 |
|
|
Library |
|
|
DLL |
|
See also