#include <xyax.h>
Inheritance diagram for XYAxis:
Public Methods | |
XYAxis (double mn, double mx, XYCoordinate x, XYCoordinate y, long color, double size, double rot, double step, XYScaleDecorator *decor, XYText *title, xybool arrow=xytrue, xybool visible=xytrue) | |
XYAxis (double mn, double mx, XYCoordinate x, XYCoordinate y, long color, double size, double rot, xybool arrow=xytrue, xybool visible=xytrue) | |
XYAxis (double mn, double mx, XYCoordinate x, XYCoordinate y, long color, double size, double rot, double step, xybool arrow=xytrue, xybool visible=xytrue) | |
virtual | ~XYAxis (void) |
virtual void | calcMinMax (double *min, double *max, double *step) const |
virtual void | min (double m) |
virtual double | min (void) const |
virtual void | max (double m) |
virtual double | max (void) const |
virtual double | defineMinPoint (double value, int x0, int y0) const |
virtual double | defineMaxPoint (double value, int x0, int y0) const |
virtual void | color (long c) |
virtual long | color (void) const |
virtual void | leftTick (xybool left) |
virtual xybool | leftTick (void) const |
virtual void | size (double sz) |
virtual double | size (void) const |
virtual void | rotation (double rot) |
virtual double | rotation (void) const |
virtual void | step (double s) |
virtual double | step (void) const |
virtual void | referenceTick (double f) |
virtual double | referenceTick (void) const |
virtual double | first (void) const |
virtual void | scaleDecorator (XYScaleDecorator *decor) |
virtual XYScaleDecorator * | scaleDecorator (void) const |
virtual void | arrow (xybool a) |
virtual xybool | arrow (void) const |
virtual void | title (XYText *t) |
virtual XYText * | title (void) const |
virtual void | adjustSize (void) |
virtual void | firstTick (double &tx1, double &ty1, double &tx2, double &ty2) const |
virtual void | insertAction (XYGraph *) |
virtual void | removeAction (XYGraph *) |
virtual xybool | pick (int px, int py) |
virtual xybool | fence (int x0, int y0, int x1, int y1) |
virtual void | drawArrow (double x0, double y0, double x1, double y1) const |
virtual void | boxArrow (double x0, double y0, double x1, double y1, double &xmin, double &ymin, double &xmax, double &ymax) const |
virtual double | transform (double e) const |
virtual double | valueInPoint (int x0, int y0) const |
virtual double | valueInPoint (double x0, double y0) const |
virtual void | pointInValue (double, int &, int &) const |
virtual void | pointInValue (double, double &, double &) const |
Protected Attributes | |
double | _mn |
double | _mx |
long | _color |
double | _size |
double | _rot |
double | _step |
double | _referenceTick |
XYScaleDecorator * | _decor |
XYText * | _title |
xybool | _arrow |
xybool | _leftTick |
Static Protected Attributes | |
const double | _arrow_size = 0.03 |
|
Definition at line 22 of file xyax.cpp. References xytrue. |
|
Definition at line 41 of file xyax.cpp. References xytrue. |
|
Definition at line 57 of file xyax.cpp. References xytrue. |
|
|
|
Definition at line 350 of file xyax.cpp. References _mn, _mx, _rot, _size, _step, XYObject::_xmax, XYObject::_xmin, XYObject::_ymax, XYObject::_ymin, mtDistance(), mtRotate(), and XY_PI. |
|
|
|
Definition at line 180 of file xyax.cpp. References _arrow. |
|
Definition at line 314 of file xyax.cpp. References _arrow_size, and mtDistance(). |
|
|
|
Definition at line 99 of file xyax.cpp. References _color. |
|
Definition at line 94 of file xyax.cpp. References _color. |
|
Reimplemented in XYLogAxis, and XYLinearAxis. Definition at line 210 of file xyax.cpp. References _mx. |
|
Reimplemented in XYLogAxis, and XYLinearAxis. Definition at line 205 of file xyax.cpp. References _mn. |
|
Definition at line 297 of file xyax.cpp. References _arrow_size, and mtDistance(). Referenced by XYPolarAxis::draw(), XYLinearAxis::draw(), and XYLogAxis::draw(). |
|
Definition at line 237 of file xyax.cpp. References XYObject::boundingBox(), mtInclude(), XYObject::visible(), xybool, and xyfalse. |
|
Reimplemented in XYAngGrid, and XYRadialGrid. Definition at line 155 of file xyax.cpp. References _mn, _referenceTick, _step, first(), and mtLessEqual(). Referenced by XYGrid::boundingBox(), XYGrid::draw(), XYLinearAxis::draw(), first(), and XYGrid::pick(). |
|
Reimplemented in XYPolarAxis. Definition at line 249 of file xyax.cpp. References mtEqual(), mtRotate(), and XY_PI. Referenced by XYLinearAxis::draw(). |
|
|
|
|
|
Definition at line 145 of file xyax.cpp. References _leftTick. |
|
Definition at line 89 of file xyax.cpp. References _mx. |
|
Definition at line 84 of file xyax.cpp. References _mx. Referenced by XYCartesianArea::boundingBox(), XYLogAxis::defineMaxPoint(), XYLogScaleDecorator::draw(), and XYCartesianArea::getClip(). |
|
Definition at line 79 of file xyax.cpp. References _mn. Referenced by XYGridLog::draw(). |
|
Definition at line 74 of file xyax.cpp. References _mn. Referenced by XYCartesianAreaMask::boundingBox(), XYCartesianArea::boundingBox(), XYLogAxis::defineMinPoint(), XYLogScaleDecorator::draw(), and XYCartesianArea::getClip(). |
|
Reimplemented in XYAngGrid, XYGrid, and XYRadialGrid. Definition at line 225 of file xyax.cpp. References XYObject::boundingBox(), mtPointInRect(), XYObject::visible(), xybool, and xyfalse. |
|
Reimplemented in XYLogAxis, and XYLinearAxis. |
|
Reimplemented in XYLogAxis, and XYLinearAxis. Definition at line 180 of file xyax.h. Referenced by XYCartesianArea::pixelAt(). |
|
Definition at line 140 of file xyax.cpp. References _referenceTick. Referenced by XYGrid::XYGrid(). |
|
Definition at line 135 of file xyax.cpp. References _referenceTick. |
|
|
|
Definition at line 120 of file xyax.cpp. References _rot. |
|
Definition at line 115 of file xyax.cpp. References _rot. Referenced by XYCartesianMask::setMacWindow(). |
|
Definition at line 175 of file xyax.cpp. References _decor. |
|
Definition at line 170 of file xyax.cpp. References _decor. |
|
Definition at line 110 of file xyax.cpp. References _size. Referenced by XYLinearAxis::defineMaxPoint(), XYLogAxis::defineMaxPoint(), XYLinearAxis::valueInPoint(), and XYLogAxis::valueInPoint(). |
|
Definition at line 104 of file xyax.cpp. References _size. Referenced by XYLogScaleDecorator::draw(). |
|
Definition at line 130 of file xyax.cpp. References _step. |
|
Definition at line 125 of file xyax.cpp. References _step. Referenced by XYLogScaleDecorator::draw(). |
|
Definition at line 195 of file xyax.cpp. References _title. |
|
Definition at line 190 of file xyax.cpp. References _title. |
|
Reimplemented in XYLogAxis. Definition at line 200 of file xyax.cpp. Referenced by XYGrid::worldSize2PixelSize(). |
|
Reimplemented in XYLogAxis, and XYLinearAxis. |
|
Reimplemented in XYLogAxis, and XYLinearAxis. |
|
Definition at line 195 of file xyax.h. Referenced by arrow(), XYPolarAxis::draw(), XYLinearAxis::draw(), and XYLogAxis::draw(). |
|
Definition at line 20 of file xyax.cpp. Referenced by boxArrow(), and drawArrow(). |
|
Definition at line 188 of file xyax.h. Referenced by color(). |
|
Definition at line 193 of file xyax.h. Referenced by XYPolarAxis::draw(), XYLinearAxis::draw(), XYLogAxis::draw(), and scaleDecorator(). |
|
Definition at line 196 of file xyax.h. Referenced by leftTick(). |
|
|
|
Definition at line 192 of file xyax.h. Referenced by first(), and referenceTick(). |
|
|
|
Definition at line 191 of file xyax.h. Referenced by adjustSize(), XYGrid::boundingBox(), XYAngGrid::boundingBox(), XYRadialGrid::draw(), XYGridLog::draw(), XYGrid::draw(), XYPolarAxis::draw(), XYLinearAxis::draw(), XYLogAxis::draw(), XYAngGrid::draw(), first(), XYRadialGrid::pick(), XYGrid::pick(), XYAngGrid::pick(), and step(). |
|
Definition at line 194 of file xyax.h. Referenced by XYPolarAxis::draw(), XYLinearAxis::draw(), XYLogAxis::draw(), and title(). |