Method XbpBitmap():presSpace() Foundation

Sets or returns the presentation space linked to the XbpBitmap object.

Syntax
:presSpace( [<oPS>] ) --> oOldPresSpace
Parameters
<oPS>
The parameter <oPS> allows a new presentation space to be optionally specified for graphic output performed in the bitmap. The XbpBitmap object then becomes the output device for the new presentation space. Note that <oPS> must not be associated with another output device already. It must be created new using XbpPresSpace():new().
Return

This method returns the presentation space associated with the XbpBitmap object before the method is called.

Description

The :presSpace() method links a presentation space with an XbpBitmap object. Drawing is done in a bitmap object using the functions of the GRA engine. To include the results of Gra...() functions in a bitmap, the presentation space of the XbpBitmap object is specified in the calls of the Gra...() functions. These functions then draw in the raster image managed by the XbpBitmap object rather than to the screen or printer. The method :draw() of the XbpBitmap object is used to display the drawing.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.