X11PCDLPushMatrix.h

Classes

X11PCDLPushMatrix -- X11 display list object that stores the pushMatrix command (full description)

class X11PCDLPushMatrix : public X11PCDisplayListObject

Interface

Public Members
X11PCDLPushMatrix()
X11PCDLPushMatrix(X11PixelCanvas * xpc)
virtual void translate(Int, Int)
virtual void draw(::XDisplay * , Drawable , GC , Int , Int )
virtual Char optType() const
virtual ~X11PCDLPushMatrix()

Description

Prerequisite

Etymology

X11PCDLPuxhMatrix : X11PixelCanvas Display List PushMatrix command

Synopsis

This class is designed for use with the X11PixelCanvas' caching mechanism.

Cached version of the pushMatrix command which can be used in display lists.

Motivation

Needed to be able to put all output graphics commands in a display list for fast and convenient processing.

Member Description

X11PCDLPushMatrix()

Default Constructor Required

X11PCDLPushMatrix(X11PixelCanvas * xpc)

User Constructor

virtual void translate(Int, Int)

translate does nothing

virtual void draw(::XDisplay * , Drawable , GC , Int , Int )

draw command

virtual Char optType() const

For caching optimization

virtual ~X11PCDLPushMatrix()

Destructor