about draw function.

Non-platform specific questions.

about draw function.

Postby amanuob » Sat Apr 09, 2011 2:43 pm

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?
Questions are necessary for the development of our own knowing, without questions How would we know??? and lesser would be my posts or none...therefore I know little or none.
User avatar
amanuob
 
Posts: 33
Joined: Sat Aug 29, 2009 11:47 am
Location: In Earth
Score: 1 Give a positive score

Re: about draw function.

Postby skydereign » Sat Apr 09, 2011 10:43 pm

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
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: about draw function.

Postby amanuob » Sun Apr 10, 2011 2:05 pm

Thanx +1 :)
Questions are necessary for the development of our own knowing, without questions How would we know??? and lesser would be my posts or none...therefore I know little or none.
User avatar
amanuob
 
Posts: 33
Joined: Sat Aug 29, 2009 11:47 am
Location: In Earth
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest