Re: [Algorithms] Draw & fill regular polygon?
Brought to you by:
vexxed72
From: Simon F. <sim...@po...> - 2011-08-10 13:04:57
|
Does it have to be online? Foley, van Dam, Feiner and Hughes have plenty of details on scan line rendering. -----Original Message----- From: Joel B [mailto:one...@ea...] Sent: 10 August 2011 12:49 To: Game Development Algorithms Subject: [Algorithms] Draw & fill regular polygon? I should know how to do this, but i don't. I only have the ability in my system to draw lines (x1,y1,x2,y2)' to a bitmap, or write to the bitmap as a byte array. Can someone tell me the stepwise procedure to draw a polygon of n sides and then fill it? Having trouble finding anything online that doesn't use pre-existing primitives or libraries. Thanks, Joel Sent from my iPhone ------------------------------------------------------------------------ ------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev _______________________________________________ GDAlgorithms-list mailing list GDA...@li... https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list Archives: http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-lis t |