X11PCDLImage.h
Classes
- X11PCDLImage -- Class to store command for displaying an image on an X11PixelCanvas. (full description)
Interface
- Public Members
- X11PCDLImage()
- X11PCDLImage(XImage * xim, Int x, Int y)
- virtual void translate(Int xt, Int yt)
- virtual void draw(::XDisplay * display, Drawable d, GC gc, Int xt, Int yt)
- virtual Char optType() const
- virtual ~X11PCDLImage()
Prerequisite
- Understanding of X11PixelCanvas
caching mechanism
- Understanding of XImages and their display using XLib
Etymology
X11PCDLImage : X11PixelCanvas
Display List - Image.
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
X11PCDLImage stores a request to draw an image in the form of an XImage
structure.
Note: Presently the image stored is first clipped to the window it was
first drawn into.
Motivation
Needed to be able to put all output graphics commands in
a display list for fast and convenient handling.
Member Description
Default Constructor Required
X11PCDLImage(XImage * xim, Int x, Int y)
User Constructor
virtual void translate(Int xt, Int yt)
translate the image
virtual void draw(::XDisplay * display, Drawable d, GC gc, Int xt, Int yt)
draw function
virtual Char optType() const
For caching optimization
Destructor