realbasic-nug
[Top] [All Lists]

Re: Drawing semi-transparent lines in RB....

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Drawing semi-transparent lines in RB....
From: Joe Strout <joe at inspiringapps dot com>
Date: Thu, 29 Nov 2007 18:40:42 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <01BED20A-AC7F-4120-82FD-48F0A4237BD6 at elfdata dot com> <EC8311A0-23BB-4208-865D-AA95CBC8AB87 at inspiringapps dot com> <FE72E767-7F23-4955-BEB5-B269F2E1F3E8 at oofile dot com dot au>
On Nov 29, 2007, at 4:56 PM, Andy Dent wrote:

> On 30/11/2007, at 5:18 AM, Joe Strout wrote:
>
>> On Mac OS X, you can do this with a CurveShape.  On other platforms,
>> you'll need to use a picture with an appropriately translucent mask.
>
> Expanding further on Joe's comment, that mask would be constructed by
> drawing the same CurveShape into the Mask property of the picture,
> with a 50% Gray colour.

Well, you wouldn't actually need a CurveShape in this case -- you  
could just use DrawLine.  But a CurveShape would also work, of course.

Best,
- Joe

--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com



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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>