realbasic-nug
[Top] [All Lists]

Drawing semi-transparent lines in RB....

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Drawing semi-transparent lines in RB....
From: "Theodore H. Smith" <delete at elfdata dot com>
Date: Thu, 29 Nov 2007 20:11:22 +0000
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Is there an inbuilt way to draw a 1-pixel wide semi-transparent line  
in RB?

Basically, set the opacity to 50% or something like that.

What I want is this, a 3 pixel wide line. The middle pixel 100%  
opaque, and the other two 50% opaque.

Any idea how?

I could do it myself with a bit of graphics work per-pixel. But it's  
slow and I wondered if there is an inbuilt way...

--
http://elfdata.com/plugin/
"String processing, done right"


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