fg_arc()

Win32 DirectX Fastgraph/Light

Prototype

void fg_arc (int radius, int start_angle, int end_angle);

Sub fg_arc (ByVal radius As Long, ByVal start_angle As Long, ByVal end_angle As Long)

procedure fg_arc (radius, start_angle, end_angle : integer);

Description

The fg_arc() function draws a circular arc in screen space, centered at the current graphics position, with clipping. The arc is drawn counterclockwise from the starting angle to the ending angle.

Parameters

radius is the arc's radius in horizontal screen space units. Its value must be greater than zero. The radius defines the arc's horizontal distance (at zero degrees) from the current graphics position.

start_angle is the starting point of the arc, expressed in tenths of degrees counterclockwise from the horizontal.

end_angle is the ending point of the arc, expressed in tenths of degrees counterclockwise from the horizontal.

Return value

none

Restrictions

none

See also

fg_arcw(), fg_circle(), fg_ellipse()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.