Instance Method

drawPDFPage(_:)

Draws the content of a PDF page into the current graphics context.

Declaration

func drawPDFPage(_ page: CGPDFPage)

Parameters

page

A Core Graphics PDF page.

Discussion

This function works in conjunction with the CGPDFPage type to draw individual PDF pages into a context.

See Also

Drawing Images and PDF Content

func draw(CGImage, in: CGRect, byTiling: Bool)

Draws an image in the specified area.

var interpolationQuality: CGInterpolationQuality

Returns the current level of interpolation quality for a graphics context.

enum CGInterpolationQuality

Levels of interpolation quality for rendering an image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software