[OT] Bitmaps for controls
[OT] Bitmaps for controls
- Subject: [OT] Bitmaps for controls
- From: Art Gillespie <email@hidden>
- Date: Wed, 16 Oct 2002 06:42:15 -0400
Hi all,
For obvious reasons, I'm working on a VSTGUI drop-in replacement...
when it comes to dealing with bitmaps I'm loading a PICT resource and
drawing it into a offscreen graphics world, and then using CopyBits on
the graphics world's PixelMap to get segments of the bitmap onto the
screen.
Now, my question is this: is keeping the offscreen graphics world
around the right way to cache the bitmap in Mac-Land? This is how I'm
doing it now, and it works great, but it seems a bit heavyweight.
However, my efforts to copy the PixelMap and then dispose the graphics
world results in weird graphics and/or crashes on subsequent calls to
CopyBits.
If anyone can point me to 'best-practice' resources on this kind of
low-level graphics asset management in QuickDraw I'd be much
appreciative.
Thanks,
Art
>>0xBA
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.