X11PCDLLines.h
Classes
- X11PCDLLines -- Class to store and cache X11PixelCanvas lines command. (full description)
Interface
- Public Members
- X11PCDLLines()
- X11PCDLLines(XSegment * base, uInt nLines)
- 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 uInt nLines() const
- virtual XSegment * lines() const
- virtual ~X11PCDLLines()
Prerequisite
Etymology
X11PCDLLines : X11PixelCanvas
Display list - lines command.
Synopsis
This class is designed for use with the
X11PixelCanvas'
caching mechanism.
A X11PCDLLines class draws a set of lines using the current color.
Native X structures and coordinates are used.
Motivation
Needed to be able to put all output graphics commands in
a display list for fast and convenient handling.
Member Description
Default Constructor Required
X11PCDLLines(XSegment * base, uInt nLines)
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 uInt nLines() const
number of lines
virtual XSegment * lines() const
pointer to the lines
Destructor