PDA

View Full Version : New "SMART_ClearCanvas"?



vanlacke
06-26-2014, 01:54 AM
Been a long while since I've used Simba. Seems like everything has changed.

What's the new ClearCanvas? Can't find it for the life of me...

Turpinator
06-26-2014, 02:27 AM
smartImage.clear();
or smartImage.clearArea(tbox);

vanlacke
06-26-2014, 03:14 AM
smartImage.clear();
or smartImage.clearArea(tbox);

Thanks so much!

How would I have been able to find this, though? I searched Simba for "clear", and it didn't come up. I also googled this, and searched the forums, using keywords such as "Clear". Nothing was found.

Is there a resource around that shows changes like this?

Turpinator
06-26-2014, 03:42 AM
http://i.imgur.com/Qk0UmUO.png

smartImage is a TMufasaBitmap. sooo. yeah.

(fyi, srl-6 is all pseudo-object oriented/type funcs/etc)

vanlacke
06-26-2014, 03:50 AM
http://i.imgur.com/Qk0UmUO.png

smartImage is a TMufasaBitmap. sooo. yeah.

(fyi, srl-6 is all pseudo-object oriented/type funcs/etc)

Alright, I see. So it just needed smartImage. before the clear();. I did try clear();.. Clearly I don't understand how this all works, but I'll work on it. Thanks for the insight