X11PCDLPopMatrix.h

Classes

X11PCDLPopMatrix -- X11 display list object that stores the popMatrix command (full description)

class X11PCDLPopMatrix : public X11PCDisplayListObject

Interface

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

Description

Prerequisite

Etymology

X11PCDLPuxhMatrix : X11PixelCanvas Display List PopMatrix command

Synopsis

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

Cached version of the popMatrix 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

X11PCDLPopMatrix()

Default Constructor Required

X11PCDLPopMatrix(X11PixelCanvas * xpc)

User Constructor

virtual void translate(Int, Int)

translate does nothing

virtual Char optType() const

For caching optimization

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

draw command

virtual ~X11PCDLPopMatrix()

Destructor