Code to draw a filled polygon

BlitzPlus Forums/BlitzPlus Programming/Code to draw a filled polygon

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Maybe 'Fat Functions'
http://www.blitzbasic.com/codearcs/codearcs.php?code=803

'fatOval' can draw regular polygons of 3 sides to 360 sides with or without line thickness. Also includes function to draw the Super Ellipse. The super ellipse is a generalization of an oval. Using fatSuperEllipse() you can also draw regular concave polygons by changing just one parameter as well as many other shapes including rounded rectangles (or squared ovals depending how you look at it).

'Fat Functions' + Snarty's 'Fill Image' function might be a solution (don't know what your application needs to accomplish).

Cheers,

Andy

|Edit| forgot to include link |Edit|