D2D1_ARC_SEGMENT structure (d2d1.h)

Describes an elliptical arc between two points.

Syntax

typedef struct D2D1_ARC_SEGMENT {
  D2D1_POINT_2F        point;
  D2D1_SIZE_F          size;
  FLOAT                rotationAngle;
  D2D1_SWEEP_DIRECTION sweepDirection;
  D2D1_ARC_SIZE        arcSize;
} D2D1_ARC_SEGMENT;

Members

point

Type: D2D1_POINT_2F

The end point of the arc.

size

Type: D2D1_SIZE_F

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

rotationAngle

Type: FLOAT

A value that specifies how many degrees in the clockwise direction the ellipse is rotated relative to the current coordinate system.

sweepDirection

Type: D2D1_SWEEP_DIRECTION

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

arcSize

Type: D2D1_ARC_SIZE

A value that specifies whether the given arc is larger than 180 degrees.

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