X11PCDLDisable.h
Classes
- X11PCDLDisable -- Class to store commands to disable clipping on an X11PixelCanvas. (full description)
Interface
- Public Members
- X11PCDLDisable()
- X11PCDLDisable(X11PixelCanvas * xpc, Display::Option option)
- 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 ~X11PCDLDisable()
Prerequisite
Etymology
X11PCDLDisable : X11PixelCanvas
Display List - Disable command
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
It stores the disable() command which is used to disable boolean options
such as the clip window.
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
User Constructor
virtual void translate(int xt, int yt)
translate does nothing
virtual void draw(::XDisplay * display, Drawable d, GC gc, int xt, int yt)
draw calls xpc->disable(option)
virtual Char optType() const
For caching optimization
Destructor