X11PCDLDisable.h

Classes

X11PCDLDisable -- Class to store commands to disable clipping on an X11PixelCanvas. (full description)

class X11PCDLDisable : public X11PCDisplayListObject

Interface

Public Members
X11PCDLDisable()
X11PCDLDisable(X11PixelCanvas * xpc, Display::Option option)
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 ~X11PCDLDisable()

Description

Prerequisite

Etymology

X11PCDLDisable : X11PixelCanvas Display List - Disable command

Synopsis

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

It stores the disable() command which is used to disable boolean options such as the clip window.

Motivation

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

Member Description

X11PCDLDisable()

Default Constructor Required

X11PCDLDisable(X11PixelCanvas * xpc, Display::Option option)

User Constructor

virtual void translate(int xt, int yt)

translate does nothing

virtual void draw(::XDisplay * display, Drawable d, GC gc, int xt, int yt)

draw calls xpc->disable(option)

virtual Char optType() const

For caching optimization

virtual ~X11PCDLDisable()

Destructor