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: Andy Dent <dent at oofile dot com dot au>
Date: Fri, 30 Nov 2007 08:56:55 +0900
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>
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.
(In case anyone less knowledgeable than Thomas is following this  
thread).

I have an example up which has a slider to adjust transparency used  
for masking, see the PrintMasking sample on
http://www.oofile.com.au/downloads.html#DownloadREALbasic




Andy Dent BSc  MACS   http://www.oofile.com.au/
OOFILE - Database, Reports, Graphs, GUI for c++ on multiple platforms
REALbasic, C++, Python, Mac and Windows development and porting



_______________________________________________
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>