Mac OS 9
CGPDFContext.h File Reference

CoreGraphics PDF context. More...

#include <CGBase.h>
#include <CGContext.h>
#include <CGDataConsumer.h>
#include <CFDictionary.h>

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)
 

Detailed Description

CoreGraphics PDF context.

Introduced In: CoreGraphics-122 (Mac OS X 10.1)
Avaliable From: Universal Interfaces 3.4.1
Copyright: © 2000-2001 by Apple Computer, Inc., all rights reserved.

For bug reports, consult the following page on the World Wide Web:

http://developer.apple.com/bugreporter/

Function Documentation

◆ CGPDFContextCreate()

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()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later

◆ CGPDFContextCreateWithURL()

CGContextRef CGPDFContextCreateWithURL ( CFURLRef  url,
const CGRect mediaBox,
CFDictionaryRef  auxiliaryInfo 
)

Convenience function: create a PDF context, writing to ‘url’. CGPDFContextCreateWithURL()

Non-Carbon CFM: not available
Carbon Lib: not available
Mac OS X: in version 10.0 and later