Page 1 of 1

about draw function.

PostPosted: Sat Apr 09, 2011 2:43 pm
by amanuob
hello everyone, does anyone know how check a pixel in canvas if its empty or what color it is...
like when I draw a GE icon with draw_from then check each pixel what color it is, is it possible though?

Re: about draw function.

PostPosted: Sat Apr 09, 2011 10:43 pm
by skydereign
No, the only way to do that is to draw the image yourself and store it in an array. Problem is you would need to load from bitmaps to store it.
http://game-editor.com/forum/viewtopic.php?f=6&t=5977&p=41691

Re: about draw function.

PostPosted: Sun Apr 10, 2011 2:05 pm
by amanuob
Thanx +1 :)