X11PCDLFilledRectangle.h

Classes

X11PCDLFilledRectangle -- Class to store commands to draw a filled rectangle on an X11PixelCanvas. (full description)

class X11PCDLFilledRectangle : public X11PCDisplayListObject

Interface

Public Members
X11PCDLFilledRectangle()
X11PCDLFilledRectangle(Int x, Int y, uInt w, uInt h)
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 ~X11PCDLFilledRectangle()

Description

Prerequisite

Etymology

X11PCDLFilledRectangle : X11PixelCanvas Display List - filled rectangle command

Synopsis

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

This stores the command to clear a specific region of the X11PixelCanvas

Motivation

Used to clear a rectangular area of the screen.

Member Description

X11PCDLFilledRectangle()

Default Constructor Required

X11PCDLFilledRectangle(Int x, Int y, uInt w, uInt h)

User Constructor

virtual void translate(Int xt, Int yt)

translate

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

draw function

virtual Char optType() const

For caching optimization

virtual ~X11PCDLFilledRectangle()

Destructor