On Jan 31, 2007, at 8:59 AM, Steve Christensen wrote:
In this particular case I'm calling ClearRectangle to erase the
entire bitmap in a CGBitmapContext before doing further transformed
drawing. The hitch is that the context may have already been
transformed away from its identity matrix. After doing all this
drawing, the bitmap is then copied into a destination context and
the process is repeated. The second hitch is that I'm playing with
the pixels in each of these layers, so I can't just clear once and
draw all the layers.
Since it's a bitmap context, you control the bits, and you could
always create two CGContexts that point at the bits, one which gets
transformed, and one which doesn't. Use the one that doesn't when you
want untransformed drawing.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden