fg_arcw()

Win32 DirectX Fastgraph/Light

Prototype

void fg_arcw (double radius, int start_angle, int end_angle);

Sub fg_arcw (ByVal radius As Double, ByVal start_angle As Long, ByVal end_angle As Long)

procedure fg_arcw (radius : real; start_angle, end_angle : integer);

Description

The fg_arcw() function draws a circular arc in 2D world 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 world 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_arc(), fg_circlew(), fg_ellipsew()

Contents
Fastgraph Home Page

 

copyright 2001 Ted Gruber Software, Inc.