Class

NSEPSImageRep

An object that can render an image from encapsulated PostScript (EPS) code.

Topics

Creating an NSEPSImageRep

init?(data: Data)

Returns an NSEPSImageRep object initialized with the specified EPS data.

Getting Image Data

var boundingBox: NSRect

The rectangle that bounds the receiver.

var epsRepresentation: Data

The EPS representation of the receiver.

Drawing the Image

func prepareGState()

Implemented by subclasses to configure the graphics state prior to drawing.

Deprecated

Relationships

Inherits From

Conforms To

See Also

Vector Formats

class NSPDFImageRep

An object that can render an image from a PDF format data stream.

class NSPDFInfo

An object that stores information associated with the creation of a PDF file, such as its URL, tag names, page orientation, and paper size.