Problem with mask

Wilhelm Sanke sanke at hrz.uni-kassel.de
Tue Oct 21 18:22:33 EDT 2008


It occured to me - I was already halfway asleep - that we might have a 
solution to Jim's problem,  no matter if there is a "within" bug or not.

As I reported, reversing the within-scan of the oval results in a mask 
with flattened edges on top and on the left, instead of on the right and 
at the bottom.

So, why don't we create two masks

one with

"repeat with j = 1 to tHeight
repeat with i = 1 to tWidth"

and the other with

 "repeat with j =  tHeight down to 1
   repeat with i =  tWidth down to 1".

Then we combine the two masks with "or" for the opaque chars and get a 
perfectly rounded mask.--

Have to really get some sleep now.

Regards,

Wilhelm Sanke




More information about the use-livecode mailing list