arc man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

arc(3)				Allegro manual				arc(3)

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. Exam‐
       ple:

	  /* 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(3), ellipse(3), drawing_mode(3), makecol(3)

Allegro				 version 4.4.2				arc(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net