DrawPoly and DrawLine produce different results?

BlitzMax Forums/BlitzMax Programming/DrawPoly and DrawLine produce different results?

Grisu(Posted 2012) [#1]
Hi there!

I'm trying to create a pixel-perfect outline for my wave display.

DrawLine and DrawPoly in some cases fill out different positions.
The result are disturbing "empty" pixels between the line and the drawn poly itself as shown below.

Screenshot:


Example code: (needs Bah.fmod and MaxGui to run)


Is there a way got get rid of these empty spaces?

Grisu

Last edited 2012