Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ arcf(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

arcf()  —  Silicon Graphics Beta Release

NAME

arcf - draws a filled circular arc

SPECIFICATION

C
arcf(x, y, radius, startang, endang)
Coord x, y, radius;
Angle startang, endang;

arcfi(x, y, radius, startang, endang)
Icoord x, y, radius;
Angle startang, endang;

arcfs(x, y, radius, startang, endang)
Scoord x, y, radius;
Angle startang, endang;

FORTRAN
subroutine arcf(x, y, radius, stang, endang)
real x, y, radius
integer*4 stang, endang

subroutine arcfi(x, y, radius, stang, endang)
integer*4 x, y, radius, stang, endang

subroutine arcfs(x, y, radius, stang, endang)
integer*2 x, y, radius
integer*4 stang, endang

Pascal
procedure arcf(x, y, radius: Coord; startang, endang: Angle);

procedure arcfi(x, y, radius: Icoord; startang, endang: Angle);

procedure arcfs(x, y, radius: Scoord; startang, endang: Angle);

DESCRIPTION

arcf draws a filled circular arc (pie section).  The arc is specified as a center point, a starting angle, an ending angle, and a radius.  The angle is measured from the x-axis and specified in integral tenths of degrees.  Positive angles describe counterclockwise rotations.  The arc is drawn using the current color and writemask, and filled with the current texture.  Since an arc is a two-dimensional shape, these commands have only 2D forms.  The arc is in the x-y plane with z=0.  Arcs are drawn counterclockwise from startang to endang, so the arc from 10 degrees to 5 degrees is a nearly complete circle. 

SEE ALSO

arc, circ, circf, crv

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026