X11PCDLFilledPolygon.h

Classes

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

class X11PCDLFilledPolygon : public X11PCDisplayListObject

Interface

Public Members
X11PCDLFilledPolygon()
X11PCDLFilledPolygon(XPoint * points, uInt nPoints)
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 ~X11PCDLFilledPolygon()

Description

Prerequisite

Etymology

X11PCDLFilledPolygon : X11PixelCanvas Display List - filled polygon command

Synopsis

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

A filled polygon is ...

Motivation

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

Member Description

X11PCDLFilledPolygon()

Default Constructor Required

X11PCDLFilledPolygon(XPoint * points, uInt nPoints)

User Constructor

virtual void translate(Int xt, Int yt)

translate

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

draw func

virtual Char optType() const

For caching optimization

virtual ~X11PCDLFilledPolygon()

Destructor