X11PCDLText.h
Classes
- X11PCDLText -- Class to store and cache X11PixelCanvas text command. (full description)
Interface
- Public Members
- X11PCDLText()
- X11PCDLText(Int x, Int y, const char * text, uInt len)
- 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 ~X11PCDLText()
Prerequisite
Etymology
X11PCDLText : X11PixelCanvas
Display List - draw text command
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
Stores text and a position in X11 coordinates.
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
X11PCDLText(Int x, Int y, const char * text, uInt len)
User constructor
virtual void translate(Int xt, Int yt)
translate
virtual void draw(::XDisplay * display, Drawable d, GC gc, Int xt, Int yt)
draw
virtual Char optType() const
For caching optimization
Destructor