How to DrawOval() into and image or pixmap?

BlitzMax Forums/BlitzMax Programming/How to DrawOval() into and image or pixmap?

Andres(Posted 2010) [#1]
how can it be donw?

I need worms to "eat dirt", but for that i need to draw an oval into image.


Thareh(Posted 2010) [#2]
Guess you can use an oval "algorithm" and write the pixels to a pixmap instead of using plot.
I've seen quite a few of those algorithms, if only you could search the Code Archives...


Midimaster(Posted 2010) [#3]
what about a combination of...

DrawImage
DrawOval
GrabImage


Andres(Posted 2010) [#4]
yes yes, that would work, thanks. It should be even faster than writePixel's version


ImaginaryHuman(Posted 2010) [#5]
You can try my integer-based ellipse rendering algorithm in the code archivse.