Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSEPSImageRepMBS class.

NSEPSImageRepMBS.boundingBox as NSRectMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the rectangle that bounds the receiver.

This rectangle is obtained from the "%%BoundingBox:" comment in the EPS header when the NSEPSImageRep object is initialized.

NSEPSImageRepMBS.Constructor(data as Memoryblock)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Initializes an NSEPSImageRep object initialized with the specified EPS data.

The size of the receiver is set using the bounding box information specified in the EPS header comments.
On success the handle property is not zero.

NSEPSImageRepMBS.EPSRepresentation as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the EPS representation of the receiver.

NSEPSImageRepMBS.prepareGState

Type Topic Plugin Version macOS Windows Linux iOS Targets
method Cocoa Drawing MBS MacBase Plugin 12.0 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Implemented by subclasses to configure the graphics state prior to drawing.

The draw method of NSEPSImageRep sends this message to itself just before rendering the EPS code. The default implementation of this method does nothing. You can override it in your subclass to prepare the graphics state as needed.

The items on this page are in the following plugins: MBS MacBase Plugin.


The biggest plugin in space...