Developer --> Technical Publications

     


Graphic Context Strings

Specify the graphics context for a print job.

     
#define kPMGraphicsContextDefault		CFSTR("com.apple.graphicscontext.default")
#define kPMGraphicsContextQuickdraw		CFSTR("com.apple.graphicscontext.quickdraw")
#define kPMGraphicsContextCoreGraphics		CFSTR("com.apple.graphicscontext.coregraphics")
Constant descriptions
kPMGraphicsContextDefault
Specifies the default graphics context for the application's runtime environment. Currently this is QuickDraw for all Carbon applications.
kPMGraphicsContextQuickdraw
Specifies a QuickDraw graphics context.
kPMGraphicsContextCoreGraphics
Specifies a Core Graphics context. Not currently supported for Carbon applications.
Discussion

You use the constants with the PMSessionSetDocumentFormatGeneration and PMSessionGetGraphicsContext functions.


© 2000 Apple Computer, Inc. (Last Updated 13 July 00)