Thanks! But CGContextSetBlendMode is only in 10.4 +... anyone know of
a way to do this in an app intended for, say, 10.2 and up?
I guess I could branch to the old QD method if the system is earlier,
but that's mighty ugly. Surely Quartz could invert a rect before 10.4
came out?
Jeff
On Jul 3, 2008, at 11:14 PM, David Duncan wrote:
On Jul 3, 2008, at 11:02 PM, Jeff Evans wrote:
This is probably dumb in some deep sense: does Quartz contain any
functional equivalent to QuickDraw's deprecated InvertRect()?
This is a very very handy and simple little call in QD, and I have
not been able to find anything that does the same thing in a
CGContext.
Set the blend mode to kCGBlendModeDifference and draw a white rect
over the area.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who
try.
_______________________________________________
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