X11PCDLText.h

Classes

X11PCDLText -- Class to store and cache X11PixelCanvas text command. (full description)

class X11PCDLText : public X11PCDisplayListObject

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()

Description

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

X11PCDLText()

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

virtual ~X11PCDLText()

Destructor