Quartz and Animation

I am trying to do animation with Quartz. I can move objects around on the screen fine, but am unable to animate them. Does anyone know of a good example on how to do this (C/C++) or have a suggestion on where to start. With QD I would load a frame strip into a GWorld and then just move a rect around the GWorld for each step in the animation. I want to use a similar technique with Quartz.

I've been looking at the Cocoa Sprite Kit and it is pretty cool. But, Im looking for a non-Cocoa way of rotating a Quartz context. Since yesterday I've got some rotation, but the center point is the bottom left corner of the context. I'm trying to create a rotation from the center of an image.

I think what you've got to do is translate your object to the origin, do the rotation, then translate back to the object's location. The rotations always rotate around the origin (bottom left corner of the view). So if you don't translate first, you end up moving your object as well as rotating. I've only done it in Cocoa (using NSAffineTransform), so I can't help with a non-Cocoa way of doing it.