At 12:48 AM +0100 1/29/05, FFL wrote:
What i want to do is modify the image with color tint or some other
effect i can obtain onscreen (but cannot understand clearly since
the documentation is quite mute on these calculations...) You can
easily see by yourself : make a canvas, draw an image in its
backdrop, draw something in its backdrop.mask (try a plain light
color, definitely not grey) and admire the effect. Nobody did this
before ? I can't believe this!
You shouldn't be doing it, either. What you're doing is called
"relying on undocumented behavior" and it is a bad thing, because (1)
the undocumented behavior is likely to change with different versions
of RB, and (2) it probably also varies with the operating system
you're running on.
Masks should always be grayscale.
Best,
- Joe
--
REAL World 2005 - The REALbasic User Conference
March 23-25, 2005, Austin, Texas
<http://www.realsoftware.com/realworld>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|