On Dec 6, 2006, at 10:13 PM, [EMAIL PROTECTED] wrote:

On Dec 07, 2006, at 02:51 UTC, Dave Wooldridge wrote:

Does anyone know how to access the Mask of graphics.DrawCautionIcon?

The LR's graphics documentation does not seem to mention anything
about the
masks for those special icon methods.

There aren't masks for those.  You just tell the graphics system to
draw a caution icon, and it does so, possibly in a semi-transparent or
aliased manner.  But if you wanted to do your own compositing with
them, well... I can't think of any way to do that.

A fairly creative way to do this would be to "green screen" the icon by drawing it twice on two colors such as bright green and bright red. Any pixels that are the exact same are black for the mask, any ones else are the gray representing (pixelColor - redColor) or (pixelColor - greenColor).

I tried searching around for the underlying graphics, but didn't have any luck in locating them.

HTH,
Jon


--
Jonathan Johnson
[EMAIL PROTECTED]
REAL Software, Inc.


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to