Slanting like that usually is the result of the lines in the image not being the 
expected size.  Perhaps there is a compression problem going on here?

Kevin

-----Original Message-----
From: Robert Purcell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 12, 2003 1:33 PM
To: Palm Developer Forum
Subject: Bitmap Masking OS Bug?


Hi Everyone,

I think this was covered previously, but I've searched
the archive and can't find any topics on it anymore.

I'm writing a game that uses an offscreen window to
blit images to the main window using a Mask image to
maintain the background image of the main window.
I'm using winMask followed by winOverlay to
accomplish this.  Everything works perfectly on OS4.0
and OS5, but on OS3.5, I get strange results.  The
images appear skewed (slanted) when they're drawn to
the main window.
 
Here are the steps I am using:
 
1) copy background image from offscreen to main
window using winPaint
2) copy Mask image (black pixel = keep) from
offscreen using winMask.
3) copy bitmap image from offscreen to main using
winOverlay.
 
Once again, this method works perfectly on OS4.0 and
OS5.  I only get strange results on OS3.5 so I suspect
there is a bug in the OS relating to wincopyRectangle
and transparency issues.
 
Any help would be greatly appreciated!
 
Thanks!


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/


------------------------------------------
The information in this transmittal and any attachments are confidential and intended 
only for the recipient(s) listed above. You are hereby notified that any unauthorized 
distribution or copying of this transmittal or its attachments is prohibited. If you 
have received this transmittal in error, please notify invivodata immediately at (831) 
438-9550.
------------------------------------------


--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to