Thank you to all who responded to my previous posting asking for advice on improving animation. I am employing several of the suggestions.
Currently, I am stalled on how to obtain the CGContextRef associated with an HIView. The HIView will contain all the Quartz drawing my app will do and is updated at 10 Hz from an EventTimer which sends a kEventControlDraw to the HIView to have it draw itself. This is done by my app creating the event, sending it, and having a handler catch it and pull out of the event the CGContextRef. Since no where in my code to I explicitly create or obtain the CGContextRef associated with the HIView, I don't know how to obtain it and add it as a parameter to the Draw event. The kEventControlDraw that is sent due to window resizing, etc., automatically provides the context as a parameter to the event.
I did find QDBeginCGContext, but don't know if that's a proper way to obtain the context. Suggestions?
Do not post admin requests to the list. They will be ignored.
Quartz-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden