Tom,
Lots of things there ;-)
Tom Benson wrote:
Youri,
Pictures in RB have a property "transparent" as integer, which is
essentially a 2 bit mask. You can set white to be transparent, or not to
be transparent.
On the other hand, they also have a .mask property, which has it's own
graphics handler.
If you draw into the pictures .mask property as follows, you would get
about 50% transparency of your picture.
picture.mask.grahics.forecolor = rgb(125,125,125) //middle spectrum grey
picture.mask.graphics.fillrect 0,0,picture.width,picture.height
Not for me as I want a non uniform transparency
Or, you can define a picture in a third party app to represent your
mask, and draw that picture into the mask using mask.graphics.drawpicture
That's the one I have to buid!
I'll go back testing
Cheers,
Youri
And, just to confuse you, alpha channels are like masks, only backwards.
Cheers,
Tom
On 06/01/2007, at 9:57 AM, Youri wrote:
Sorry Stefan,
I don't understand. I thought that with Mask you could assign a color
of a picture to be transparent.
Regards,
Youri
Stefan wrote:
Am 05.01.2007 um 23:44 schrieb Youri:
Stefan,
I haven't fully expressed myself. For instance one of the thing I
want to do is :
I have a RectangleControl, which the background color gets set as :
Dim c as Color
Dim b as Boolean
c= CMY(.35,.9,.6)
b=SelectColor(c,"Select a Color")
me.FillColor=c
Now, this is all good, but I want to create this blurry effect and I
can't define a color to be transparent (Mask Property) as I have a
solid color.
Mask is intended to define transparency values of pixels, not
transparent color of pixels.
_______________________________________________
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>
_______________________________________________
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>
_______________________________________________
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>
_______________________________________________
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>