SRL Archive - Help

How to remove a smart bitmap?


CRASH_OVERRIDE

2012-11-22 00:08:57

How do you remove a smart bitmap from the screen?

riwu

2012-11-22 00:16:51

If you mean you've drawn to Smart canvas and want to remove the paint:

Smart_ClearCanvas; (area)

CRASH_OVERRIDE

2012-11-23 06:39:48

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

2012-11-23 07:04:54

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

2012-11-23 19:30:28

What if i wanted to remove a bitmap paint in a certain w/h location?

Never Mind…