|
Mac OS 9
|
CoreGraphics PDF context. More...
Go to the source code of this file.
Functions | |
| CGContextRef | CGPDFContextCreate (CGDataConsumerRef consumer, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo) |
| CGContextRef | CGPDFContextCreateWithURL (CFURLRef url, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo) |
CoreGraphics PDF context.
For bug reports, consult the following page on the World Wide Web:
http://developer.apple.com/bugreporter/
| CGContextRef CGPDFContextCreate | ( | CGDataConsumerRef | consumer, |
| const CGRect * | mediaBox, | ||
| CFDictionaryRef | auxiliaryInfo | ||
| ) |
Create a PDF context, using ‘consumer’ for output. ‘mediaBox’ is the default page media bounding box; if NULL, then a default page size is used. ‘auxiliaryInfo’ specifies additional information used by the PDF context when generating the PDF file. The keys and values in ‘auxiliaryInfo’ must be CFStrings. The following keys are recognized: Key Value
Title The document's title. Author The name of the person who created the document. Creator If the document was converted to PDF from another format, the name of the application that created the original document from which it was converted. CGPDFContextCreate()
| CGContextRef CGPDFContextCreateWithURL | ( | CFURLRef | url, |
| const CGRect * | mediaBox, | ||
| CFDictionaryRef | auxiliaryInfo | ||
| ) |
Convenience function: create a PDF context, writing to ‘url’. CGPDFContextCreateWithURL()