arc(3alleg4) debian man page | unix.com

Man Page: arc

Operating Environment: debian

Section: 3alleg4

arc(3alleg4)							  Allegro manual						      arc(3alleg4)

NAME
arc - Draws a circular arc. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void arc(BITMAP *bmp, int x, y, fixed ang1, ang2, int r, int color);
DESCRIPTION
Draws a circular arc with centre x, y and radius r, in an anticlockwise direction starting from the angle a1 and ending when it reaches a2. These values are specified in 16.16 fixed point format, with 256 equal to a full circle, 64 a right angle, etc. Zero is to the right of the centre point, and larger values rotate anticlockwise from there. Example: /* Draw a black arc from 4 to 1 o'clock. */ arc(screen, SCREEN_W/2, SCREEN_H/2, itofix(-21), itofix(43), 50, makecol(0, 0, 0));
SEE ALSO
circle(3alleg4), ellipse(3alleg4), drawing_mode(3alleg4), makecol(3alleg4) Allegro version 4.4.2 arc(3alleg4)
Related Man Pages
do_arc(3alleg4) - opendarwin
do_arc(3alleg4) - suse
circle(3alleg4) - mojave
circle(3alleg4) - v7
do_arc(3alleg4) - redhat
Similar Topics in the Unix Linux Community
The Forum Hierarchy
Search for a pattern
Forum Display - Thread Preview Text Animation
Help with Reviving a NETRA240 Pls?
UNIX.com is getting crushed in google search these days