polygon man page on DragonFly

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

polygon(3)			Allegro manual			    polygon(3)

NAME
       polygon - Draws a filled polygon. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       void polygon(BITMAP *bmp, int vertices, const int *points, int color);

DESCRIPTION
       Draws  a	 filled	 polygon with an arbitrary number of corners. Pass the
       number of vertices and an array containing a series of x, y  points  (a
       total of vertices*2 values). Example:

	  int points[12] = { 50, 50,   100, 100,  100, 150,
			     50, 200,  0,   150,  0,   100 };
	  ...
	  clear_to_color(screen, makecol(255, 255, 255));
	  polygon(screen, 6, points, makecol(0, 0, 0));

SEE ALSO
       triangle(3), polygon3d(3), drawing_mode(3), makecol(3), excamera(3)

Allegro				 version 4.4.2			    polygon(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