Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ArcSegment function

Creates a D2D1_ARC_SEGMENT structure.

Syntax


D2D1_ARC_SEGMENT ArcSegment(
  _In_ const D2D1_POINT_2F        &point,
  _In_ const D2D1_SIZE_F          &size,
  _In_       FLOAT                rotationAngle,
  _In_       D2D1_SWEEP_DIRECTION sweepDirection,
  _In_       D2D1_ARC_SIZE        arcSize
);

Parameters

point [in, ref]

Type: const D2D1_POINT_2F

The end point of the arc.

size [in, ref]

Type: const D2D1_SIZE_F

The x-radius and y-radius of the arc.

rotationAngle [in]

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.

sweepDirection [in]

Type: D2D1_SWEEP_DIRECTION

A value that specifies whether the arc sweep is clockwise or counterclockwise.

arcSize [in]

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

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

D2d1helper.h

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1GeometrySink

 

 

Show:
© 2017 Microsoft