formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

# fzrt_frame_arc

Description

Draw an arc. This will draw an arc with the current pen. The arc is a section of an oval starting at the start angle, with 0 being at the noon position, 90 is at the 3 o'clock position. 45 is at a line drawn from the center of the rectangle through the top, right corner. The length of the arc is defined by the srcAngle defining how many degrees the arc covers. A negative number goes counter-clockwise.

Plugin Prototype

void fzrt_frame_arc(

const fzrt_rect * | r,
short | startAngle,
short | arcAngle )

Parameters

r [Input]

bounding box of oval defining the curve of the arc

startAngle [Input]

the starting position of the arc in degrees

arcAngle [Input]

the number of degrees defining the arc's extent

Availability

5.0.0.0

Function Set

fz_fzrt_graf_fset

Defined in

fzrt_api.h