Log in

View Full Version : How to remove a smart bitmap?



CRASH_OVERRIDE
11-22-2012, 05:08 AM
How do you remove a smart bitmap from the screen?

riwu
11-22-2012, 05:16 AM
If you mean you've drawn to Smart canvas and want to remove the paint:

Smart_ClearCanvas; (area)

CRASH_OVERRIDE
11-23-2012, 11:39 AM
right!

I tried soo many things. didnt realise i had to specify the area :/ Thanks mate.


Hrmm.. i think its SMART_ClearCanvasArea(area, 0);

Whats area refer to? the width and height or? and what does the 0 stand for? I found this in simba's list but i dont see an explanation for these 2 options.

riwu
11-23-2012, 12:04 PM
If you want to clear the whole canvas, just call
Smart_ClearCanvas;

I parenthesis the area to hint you that there's an additional procedure that clears only a specific area. The area parameter should be a TBox.

CRASH_OVERRIDE
11-24-2012, 12:30 AM
What if i wanted to remove a bitmap paint in a certain w/h location?

Never Mind...