#include <xyleg.h>
Inheritance diagram for XYLegend:
Public Methods | |
XYLegend (XYCoordinate x, XYCoordinate y, int nlines, int ncolumns, xybool box=xytrue, xybool visible=xytrue) | |
virtual | ~XYLegend (void) |
virtual void | mask (const XYList< XYMask > *mask) |
virtual const XYList< XYMask > * | mask (void) const |
virtual void | backgroundColor (long color) |
virtual long | backgroundColor (void) const |
virtual void | frameColor (long color) |
virtual long | frameColor (void) const |
virtual void | lines (int nl) |
virtual int | lines (void) const |
virtual void | columns (int nc) |
virtual int | columns (void) const |
virtual void | box (xybool b) |
virtual xybool | box (void) const |
virtual xybool | pick (int px, int py) |
virtual XYMask * | pickItem (int px, int py) |
virtual xybool | fence (int x0, int y0, int x1, int y1) |
virtual void | clear (void) const |
virtual void | clear (int xmin, int ymin, int xmax, int ymax) const |
virtual void | draw (void) |
virtual void | draw (int xmin, int ymin, int xmax, int ymax) const |
virtual void | boundingBox (int &bxmin, int &bymin, int &bxmax, int &bymax) const |
Protected Attributes | |
const XYList< XYMask > * | _masks |
double | _x |
double | _y |
int | _nLines |
int | _nColumns |
xybool | _box |
long | _color |
long | _bColor |
|
|
|
|
|
Definition at line 58 of file xyleg.cpp. References _color. Referenced by clear(). |
|
Definition at line 53 of file xyleg.cpp. References _color. |
|
Implements XYObject. Definition at line 272 of file xyleg.cpp. References AREA_MM, XYListIterator< T >::End(), MARG, XYListIterator< T >::Next(), XYListIterator< T >::Reset(), SPACE_MM, and xyfalse. |
|
|
|
Definition at line 93 of file xyleg.cpp. References _box. |
|
Definition at line 162 of file xyleg.cpp. References backgroundColor(). |
|
Definition at line 149 of file xyleg.cpp. References backgroundColor(), and XYObject::getViewport(). Referenced by draw(). |
|
Definition at line 88 of file xyleg.cpp. References _nColumns. |
|
Definition at line 83 of file xyleg.cpp. References _nColumns. |
|
Implements XYObject. Definition at line 176 of file xyleg.cpp. References _nColumns, _nLines, AREA_MM, boundingBox(), clear(), draw(), XYListIterator< T >::End(), frameColor(), MARG, XYListIterator< T >::Next(), XYObject::position(), SPACE_MM, XYObject::visible(), and xyfalse. |
|
Implements XYObject. Definition at line 171 of file xyleg.cpp. Referenced by draw(). |
|
Definition at line 137 of file xyleg.cpp. References boundingBox(), mtInclude(), XYObject::visible(), xybool, and xyfalse. |
|
Definition at line 68 of file xyleg.cpp. References _bColor. Referenced by draw(). |
|
Definition at line 63 of file xyleg.cpp. References _bColor. |
|
Definition at line 78 of file xyleg.cpp. References _nLines. |
|
Definition at line 73 of file xyleg.cpp. References _nLines. |
|
Definition at line 48 of file xyleg.cpp. References _masks. |
|
Definition at line 43 of file xyleg.cpp. References _masks. |
|
Definition at line 103 of file xyleg.cpp. References boundingBox(), mtPointInRect(), XYObject::visible(), xybool, and xyfalse. |
|
Definition at line 115 of file xyleg.cpp. References XYListIterator< T >::End(), mtPointInRect(), XYListIterator< T >::Next(), XYObject::visible(), and xyfalse. |
|
Definition at line 101 of file xyleg.h. Referenced by frameColor(). |
|
Definition at line 99 of file xyleg.h. Referenced by box(). |
|
Definition at line 100 of file xyleg.h. Referenced by backgroundColor(). |
|
Definition at line 95 of file xyleg.h. Referenced by mask(). |
|
|
|
|
|
|
|
|