#include <xyobj.h>
Inheritance diagram for XYObject:
Public Types | |
enum | LineStyle { continuous, dashed, dotted, dashDot, dashDotDot } |
Public Methods | |
XYObject (XYCoordinate x, XYCoordinate y, xybool visible=xytrue) | |
virtual | ~XYObject (void) |
virtual void | visible (xybool v) |
virtual xybool | visible (void) const |
virtual void | position (double x, double y) |
virtual void | position (int xp, int yp) |
virtual void | position (double *x, double *y) const |
virtual void | position (int *xp, int *yp) const |
virtual XYCoordinate * | position (void) |
virtual void | setHandle (void *h) |
virtual void * | getHandle (void) const |
virtual void | setWindow (double xmin=0.0, double xmax=1.0, double ymin=0.0, double ymax=1.0) const |
virtual void | setViewport (int xmin, int xmax, int ymin, int ymax) |
virtual void | setViewport (void) const |
virtual void | getViewport (int &xmin, int &xmax, int &ymin, int &ymax) const |
virtual void | draw (void)=0 |
virtual void | draw (int xmin, int ymin, int xmax, int ymax) const=0 |
virtual void | boundingBox (int &bxmin, int &bymin, int &bxmax, int &bymax) const=0 |
Protected Attributes | |
xybool | _visible |
XYPosition | _p |
void * | _handle |
int | _xmin |
int | _xmax |
int | _ymin |
int | _ymax |
|
|
|
|
|
|
|
Implemented in XYAngGrid, XYArea, XYCartesianArea, XYLogAxis, XYLinearAxis, XYPolarAxis, XYGraph, XYGrid, XYLegend, XYCartesianAreaMask, XYCartesianBarMask, XYCartesianLineMask, XYCartesianMarkMask, XYCartesianStepMask, XYMarker, XYCartesianMarker, XYPolarLineMask, XYPolarMarkMask, XYMultiRasterText, XYMultilineVectorText, XYRadialGrid, XYRasterText, XYSlice, XYCartesianSlice, XYText, and XYVectorText. Referenced by XYAxis::fence(), and XYAxis::pick(). |
|
|
|
Definition at line 74 of file xyobj.cpp. References _handle. |
|
|
|
Reimplemented in XYGraph. Definition at line 55 of file xyobj.cpp. References _p, XYPosition::getX(), and XYPosition::getY(). |
|
Reimplemented in XYGraph. Definition at line 44 of file xyobj.cpp. References _p, XYPosition::getX(), and XYPosition::getY(). |
|
Reimplemented in XYGraph. Definition at line 50 of file xyobj.cpp. References _p, and XYPosition::set(). |
|
Reimplemented in XYGraph. Definition at line 39 of file xyobj.cpp. References _p, and XYPosition::set(). Referenced by XYLogScaleDecorator::draw(). |
|
Definition at line 69 of file xyobj.cpp. References _handle. |
|
|
Definition at line 90 of file xyobj.cpp. References _xmax, _xmin, _ymax, _ymin, and setViewport(). Referenced by XYGraph::position(). |
|
|
|
Definition at line 29 of file xyobj.cpp. References _visible. Referenced by XYCartesianMask::XYCartesianMask(), XYMask::XYMask(), and XYPolarMask::XYPolarMask(). |
|
Definition at line 117 of file xyobj.h. Referenced by getHandle(), and setHandle(). |
|
Definition at line 116 of file xyobj.h. Referenced by position(). |
|
Definition at line 115 of file xyobj.h. Referenced by visible(). |
|
|
|
|