X11PCDLDisplayList.h
Classes
- X11PCDLDisplayList -- Class to store heirarchies of X11PixelCanvas display list objects. (full description)
Interface
- Public Members
- X11PCDLDisplayList()
- X11PCDLDisplayList(PixelCanvas * pc, uInt listId)
- 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 ~X11PCDLDisplayList()
Prerequisite
Etymology
X11PCDLDisplayList : X11PixelCanvas
Display List - Execute Display List object.
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
It stores a reference to a display list. Execution of the
object causes the display list to be drawn. In this
way hierarchical scenes may be constructed.
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 each item in the list
virtual void draw(::XDisplay * display, Drawable d, GC gc, Int xt, Int yt)
draw the list
virtual Char optType() const
For caching optimization
Destructor