X11PCDLSetClearColor.h
Classes
- X11PCDLSetClearColor -- Class to store and cache X11PixelCanvas setclearcolor command. (full description)
Interface
- Public Members
- X11PCDLSetClearColor()
- X11PCDLSetClearColor(X11PixelCanvas * xpc, uInt color)
- virtual void translate(Int, Int)
- virtual void draw(::XDisplay * display, Drawable d, GC gc, Int, Int)
- virtual Char optType() const
- virtual ~X11PCDLSetClearColor()
Prerequisite
Etymology
X11PCDLSetClearColor : X11PixelCanvas
Display List - setClearColor command
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
This class stores the clear command, which it applies to the
stored X11PixelCanvas.
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, Int)
translate does nothing
virtual void draw(::XDisplay * display, Drawable d, GC gc, Int, Int)
draw command sets the clear color
virtual Char optType() const
For caching optimization
Destructor