|
latest version v1.9 - last update 24 Nov 2005 |
|
#include <ltiGraphicsPattern.h>
Inheritance diagram for lti::graphicsPattern:


Public Member Functions | |
| graphicsPattern () | |
| virtual | ~graphicsPattern () |
| const char * | getTypeName () const |
| virtual void | clear ()=0 |
| graphicsPattern & | copy (const graphicsPattern &other) |
| graphicsPattern & | operator= (const graphicsPattern &other) |
| bool | operator== (const graphicsPattern &other) const |
| bool | operator!= (const graphicsPattern &other) const |
| virtual object * | clone () const =0 |
| virtual rectangle | getBoundingBox () const =0 |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Classes | |
| struct | less |
| A comparator used for sorting patterns. More... | |
It is the base class for all drawing patterns. The actual content of such a pattern, and if it is designed for lines or filled shapes, is defined in the subclass. Common property of all patterns include its bounding box, which is a rectangle that encloses all objects. Patterns may be binary, monochromatic, or colored. These classes are used by the drawer classes.
|
|
default constructor creates an empty pointList;
|
|
|
destructor
|
|
|
Resets this pattern to its default state.
Implemented in lti::linePattern, and lti::fillPattern. |
|
|
create a clone of this pointList
Implemented in lti::linePattern, and lti::fillPattern. |
|
|
assigment operator.
copy the contents of
|
|
|
Returns the bounding box of this pattern.
Implemented in lti::linePattern, and lti::fillPattern. |
|
|
returns the name of this class: graphicsPattern
Reimplemented from lti::ioObject. |
|
|
comparison operator (alias for compareTo(other) != 0).
|
|
|
assigment operator (alias for copy(other)).
|
|
|
comparison operator (alias for compareTo(other) == 0).
|
|
||||||||||||
|
read the pattern from the given ioHandler
Reimplemented from lti::ioObject. Reimplemented in lti::linePattern, and lti::fillPattern. |
|
||||||||||||
|
write the pattern to the given ioHandler
Reimplemented from lti::ioObject. Reimplemented in lti::linePattern, and lti::fillPattern. |