You may return to the Cvo Object Documenation Index from this document. This document contains the following sections describing the Cvo_XImage object:
Cvo_XImage
#include
<Cvo/XImage.h++>
new
Cvo_XImage ( Cvo_BasicObject *obj,
int format,
int depth )
The Cvo_XImage object is a simple wrapper around the X11 XImage
structure. If a Cvo_XImage object has already been created of the
specified format and depth, it is returned, otherwise a new
one is created. Cvo_XImage objects are used by the Cvo_Image object
to get an XImage
structure which can be used to put data into
Pixmap
structures. Each time the Cvo_XImage is used, the relevant
information is inserted into it (width, height, data, etc).
This object defines the following member functions.
Release (
)
This should be used instead of a destructor. It will delete the Cvo_XImage when the last reference is released.
XImage *Image (
)
Returns the X11 XImage
associated with this Cvo_XImage object.
See the legend for information about the conventions used in this documentation.