realbasic-nug
[Top] [All Lists]

Re: Picture mask changed in 2008r2?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Picture mask changed in 2008r2?
From: Sean Arney <sean at workinsoft dot com>
Date: Sat, 31 May 2008 08:59:16 -0500
Authentication-results: mx.google.com; spf=pass (google.com: domain of realbasic-nug-bounces at lists dot realsoftware dot com designates 66.116.103.65 as permitted sender) smtp dot mail=realbasic-nug-bounces at lists dot realsoftware dot com
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <77124270805301112ja025ec1i5295f790cf52d33b at mail dot gmail dot com> <BAY107-DAV13E1BCBA0B8DD7A3965E3D93BE0 at phx dot gbl> <77124270805301302v4b6f531by1501155ebce893f at mail dot gmail dot com> <298EE353-3AE8-4792-B9D1-2E199601FBFE at mac dot com> <A2A4DD56-8DD5-44AB-8051-4129D48690B0 at declareSub dot com> <0A813D77-FDDE-4FD7-A5C1-E18EE0C2202E at great-white-software dot com> <8B4BD697-63A2-4531-B0F2-0B5EFE5A7353 at workinsoft dot com> <A229571B-8183-424F-A309-FBA816DB82D0 at inspiringapps dot com>
>
>  p.Mask.Graphics.DrawPicture UKIcon128M, 0, 0
>
> And leave out the .Transparent line entirely.

Well that is interesting, thanks Joe.  Now I need a place to read up  
on pictures with masks - its been a while since I messed with these.   
What I was doing is I made a Canvas for a simple utility app and I  
want to display the picture I use for the app icon in the canvas.  the  
picture and mask work together and display as expected as the app  
icon, but not in the canvas - it used to when I did it the wrong way  
posted before, but not now.  What am I missing?

UKIcon128 is the picture
UKIcon128M is the mask
both loaded into the project.

Then I have this in the open event of the canvas:

   UKIcon128.Mask.Graphics.DrawPicture UKIcon128M,0,0
   Me.Image = UKIcon128

this does seem to draw some masking, but not like the icon - its not  
"clean", it has some odd sort of edges.

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