X11PCDLClear.h
Classes
- X11PCDLClear -- X11 display list object that stores the clear command (full description)
Interface
- Public Members
- X11PCDLClear()
- X11PCDLClear(X11PixelCanvas * xpc)
- virtual void translate(Int, Int)
- virtual void draw(::XDisplay * display, Drawable d, GC gc, Int, Int)
- virtual Char optType() const
- virtual ~X11PCDLClear()
Prerequisite
Etymology
X11PCDLClear : X11PixelCanvas
Display List Clear command
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
Cached version of the clear command which uses XFillRectangle
to set the entire backing-store pixmap to the clear color.
Motivation
Needed to be able to put all output graphics commands in
a display list for fast and convenient processing.
Member Description
Default Constructor Required
User Constructor
virtual void translate(Int, Int)
translate does nothing
virtual void draw(::XDisplay * display, Drawable d, GC gc, Int, Int)
draw command
virtual Char optType() const
For caching optimization
Destructor