On Jan 6, 2009, at 5:42 PM, Graham Cox wrote:


It should be straightforward to wrap an NSBitmapImageRep around some of the GWorld formats. Not all of them are supported but ARGB 32-bit is. While GWorlds do not have an alpha channel QuickDraw does preserve the bits in the unused byte, but you will need to address the issue of setting those bits yourself somehow.


No, it doesn't.

QuickDraw will often, but not always, zero out the unused byte (and in some operations, do other things to it - for example, there are times when CopyBits will copy the extra byte from the source to the destination, and times when it won't)



Glenn Andreas                      [email protected]
 <http://www.gandreas.com/> wicked fun!
JSXObjC | the easy way to unite JavaScript and Objective C




_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to