jove
Member
The iMovie plugin API provides QuickDraw ports. The types of image manipulation I would like to perform would best be done with the services provided by Quartz. I am stuck...
// Wrap the destination qdGWorld
CGContextRef graphContext;
::QDBeginCGContext( qdGWorld, &graphContext );
// Do Quartz like tasks...
::CGContextRotateCTM( graphContext, radians );
// Take snapshot from another GWorld and draw it onto graphContext. How?
// update the context
::CGContextFlush( graphContext );
// unwrap
::QDEndCGContext( qdGWorld, &graphContext );
How do I do this? Am I even wrapping a GWorld correctly?
// Wrap the destination qdGWorld
CGContextRef graphContext;
::QDBeginCGContext( qdGWorld, &graphContext );
// Do Quartz like tasks...
::CGContextRotateCTM( graphContext, radians );
// Take snapshot from another GWorld and draw it onto graphContext. How?
// update the context
::CGContextFlush( graphContext );
// unwrap
::QDEndCGContext( qdGWorld, &graphContext );
How do I do this? Am I even wrapping a GWorld correctly?