mask = file.OpenAsPicture
// Create Mask
mMask = New Picture(mask.Width, mask.Height, 32)
mMask.Graphics.DrawPicture mask, 0, 0
// Create Object Shape
me.AddShapePictureWithMask mImage, mMask, 1.0
For some reason, the final output of the objects is mImage but half
translucent. It's as if the mMask image was all gray, but when looking
at it in the debugger, it is definitely the way I want it to be. The
odd thing is if I even invert the mask image file, the final output
doesn't change one bit. It is on the right shape too, so I have no idea
why it's doing this. Any ideas?
Seth Willits
------------------------------------------------------------------------
---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic
"What difference is there between us, save a restless dream that
follows my
soul but fears to come near you?"
-- Kahlil Gibran
------------------------------------------------------------------------
---
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|