ArcSegment function (d2d1helper.h)
Creates a D2D1_ARC_SEGMENT structure.
Syntax
D2D1_ARC_SEGMENT ArcSegment(
[in, ref] const D2D1_POINT_2F & point,
[in, ref] const D2D1_SIZE_F & size,
[in] FLOAT rotationAngle,
[in] D2D1_SWEEP_DIRECTION sweepDirection,
[in] D2D1_ARC_SIZE arcSize
);
Parameters
[in, ref] point
Type: const D2D1_POINT_2F
The end point of the arc.
[in, ref] size
Type: const D2D1_SIZE_F
The x-radius and y-radius of the arc.
[in] rotationAngle
Type: FLOAT
The number of degrees that the ellipse is rotated relative to the current coordinate system. A positive number specifies a clockwise rotation and a negative number specifies a counterclockwise rotation.
[in] sweepDirection
Type: D2D1_SWEEP_DIRECTION
A value that specifies whether the arc sweep is clockwise or counterclockwise.
[in] arcSize
Type: D2D1_ARC_SIZE
A value that specifies whether the arc is larger than 180 degrees.
Return value
Type: D2D1_ARC_SEGMENT
The new arc segment.
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 | d2d1helper.h |
Library | D2d1.lib |
DLL | D2d1.dll |