[Algorithms] Draw & fill regular polygon?
Brought to you by:
vexxed72
From: Joel B <one...@ea...> - 2011-08-10 11:49:34
|
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 |