## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GrePartialArc Parameter - fxSweep

fxSweep (FIXED) - input Sweep angle.

Sweep angle that defines the extent of the curve to be drawn. Start and sweep angles are measured counterclockwise from the X-axis at the center of the arc before the arc parameters are applied. If the current arc parameters do not specify a circle, the angles are skewed to the same degree that the full arc is a skewed circle.

The angles are specified as doubleword values in fixed-point format. The high-order WORD contains the integer portion; the low-order WORD contains the fractional portion. A value of 6553 gives an angle of 1ø. Both angles must be positive. Whether the arc is drawn in a clockwise or counterclockwise direction is determined by the arc parameters. An angle greater than 360ø is also valid. In this case, after the initial line, a full arc is drawn followed by a partial arc of (lSweep MOD 360)ø. See also the function "GpiPartialArc" in the Presentation Manager Programming Reference.