Contents

createContext()

Creates the graphics context object used for drawing during the operation.

Declaration

func createContext() -> NSGraphicsContext?

Return Value

The graphics context object used for drawing. This object is created using the settings from the receiver’s NSPrintInfo object.

Discussion

Do not invoke this method directly—it is invoked before any output is generated.

See Also

Managing the Drawing Context