| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I *think* that you can directly access the pixels through the GWorld's baseAddress then. If that doesn't work then you can set up the the pixel image in your own pixel buffer and create a CGImage from that pixel buffer then use Quartz to draw that image into your window.
I'm currently doing all my drawing into an offscreen gworld, then copybitsing into the window on updates/draws. No alpha involved.
Seems to me that I need only to change my window from an old style window, to a new overlay window, do my offscreen drawing, then set the alpha of my gworld, and then use copybits (or CGImage) to copy the full argb pixels to the window/CGContext.
Will that work?
| References: | |
| >Alpha for Carbon window... (From: Ando Sonenblick <email@hidden>) | |
| >Re: Alpha for Carbon window... (From: Ricky Sharp <email@hidden>) | |
| >Re: Alpha for Carbon window... (From: Scott Thompson <email@hidden>) | |
| >Re: Alpha for Carbon window... (From: Ando Sonenblick <email@hidden>) | |
| >Re: Alpha for Carbon window... (From: Scott Thompson <email@hidden>) | |
| >Re: Alpha for Carbon window... (From: Ando Sonenblick <email@hidden>) | |
| >Re: Alpha for Carbon window... (From: Scott Thompson <email@hidden>) | |
| >Re: Alpha for Carbon window... (From: Ando Sonenblick <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.