X11PCDLPoint.h
Classes
- X11PCDLPoint -- Class to store and cache X11PixelCanvas point command. (full description)
Interface
- Public Members
- X11PCDLPoint()
- X11PCDLPoint(Short x, Short y)
- 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 Short x() const
- virtual Short y() const
- virtual ~X11PCDLPoint()
Prerequisite
Etymology
X11PCDLPoint : X11PixelCanvas
Display List - Point command
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
The coordinates of a point are stored. Draw function draws
a point in the current color.
Motivation
Needed to be able to put all output graphics commands in
a display list for fast and convenient handling.
To Do
Member Description
Default Constructor Required
User Constructor
virtual void translate(Int xt, Int yt)
translate the point
virtual void draw(::XDisplay * display, Drawable d, GC gc, Int xt, Int yt)
draw func
virtual Char optType() const
For caching optimization
virtual Short x() const
virtual Short y() const
point info
Destructor