#include <xygra.h>
Inheritance diagram for XYGraph:
Public Methods | |
XYGraph (Ihandle *canvas, XYCoordinate x, XYCoordinate y, double width, double height, xybool visible=xytrue) | |
XYGraph (cdCanvas *cdcanvas, XYCoordinate x, XYCoordinate y, double width, double height, xybool visible=xytrue) | |
virtual | ~XYGraph (void) |
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 | setCdCanvas (cdCanvas *c) |
virtual cdCanvas * | getCdCanvas (void) const |
virtual cdCanvas * | canvasImage (cdCanvas *) |
virtual cdCanvas * | canvasImage (void) |
virtual void | createImage (int w, int h) |
virtual void | insert (XYText *text) |
virtual void | insert (XYAxis *axis) |
virtual void | insert (XYMask *mask) |
virtual void | insert (XYMarker *marker) |
virtual void | insert (XYSlice *slice) |
virtual void | insert (XYArea *area) |
virtual void | insert (XYObject *object) |
virtual void | remove (XYText *text) |
virtual void | remove (XYAxis *axis) |
virtual void | remove (XYMask *mask) |
virtual void | remove (XYMarker *marker) |
virtual void | remove (XYSlice *slice) |
virtual void | remove (XYArea *area) |
virtual void | remove (XYObject *object) |
virtual XYList< XYText > & | text (void) |
virtual XYList< XYAxis > & | axis (void) |
virtual XYList< XYMask > & | mask (void) |
virtual XYList< XYMarker > & | marker (void) |
virtual XYList< XYSlice > & | slice (void) |
virtual XYList< XYObject > & | decorator (void) |
virtual XYList< XYArea > & | area (void) |
virtual XYMask & | mask (unsigned m) |
virtual void | legend (XYLegend *leg) |
virtual XYLegend * | legend (void) const |
virtual XYObject * | markerCreate (int x0, int y0, const XYAxis *master)=0 |
virtual void | backgroundColor (long color) |
virtual long | backgroundColor (void) const |
virtual void | width (double w) |
virtual double | width (void) const |
virtual void | height (double h) |
virtual double | height (void) const |
virtual void | distortion (xybool d) |
virtual xybool | distortion (void) const |
virtual xybool | doubleBuffering (xybool on) |
virtual xybool | doubleBuffering (void) const |
virtual void | maskAreaColor (long color) |
virtual long | maskAreaColor (void) const |
virtual void | setMaskArea (double xmin, double ymin, double xmax, double ymax) |
virtual void | getMaskArea (double &xmn, double &ymn, double &xmx, double &ymx) const |
virtual void | getMaskArea (int &xmn, int &ymn, int &xmx, int &ymx) const |
virtual void | calcMaskArea (void)=0 |
virtual xybool | contains (const XYObject *obj) |
virtual XYObject * | pick (int x, int y) |
virtual XYText * | pickText (int x, int y) |
virtual XYAxis * | pickAxis (int x, int y) |
virtual XYMask * | pickMask (int x, int y) |
virtual XYMarker * | pickMarker (int x, int y) |
virtual XYSlice * | pickSlice (int x, int y) |
virtual XYArea * | pickArea (int x, int y) |
virtual XYLegend * | pickLegend (int x, int y) |
virtual XYList< XYObject > * | fence (int x0, int y0, int x1, int y1) |
virtual void | print (void) |
virtual void | flush (void) const |
virtual void | scroll (int dx, int dy) |
virtual void | clear (void) |
virtual void | clear (int xmin, int ymin, int xmax, int ymax) const |
virtual void | maskAreaClear (void) const |
virtual void | draw (void) |
virtual void | draw (int xmin, int ymin, int xmax, int ymax) const |
virtual void | drawMaskArea (void) const=0 |
virtual void | drawMaskArea (int xmin, int ymin, int xmax, int ymax) const |
virtual int | activateCanvas (void) const |
virtual void | boundingBox (int &, int &, int &, int &) const |
Protected Methods | |
virtual void | propagateViewport (void) const |
virtual void | defineViewport (void) |
Protected Attributes | |
Ihandle * | _canvas |
cdCanvas * | _cdcanvas |
cdCanvas * | _cvimage |
void * | _image |
int | _image_w |
int | _image_h |
XYList< XYText > | _titles |
XYList< XYAxis > | _axes |
XYList< XYMask > | _masks |
XYList< XYMarker > | _markers |
XYList< XYSlice > | _slices |
XYList< XYArea > | _areas |
XYList< XYObject > | _decorators |
XYLegend * | _legend |
long | _color |
long | _ma_color |
double | _width |
double | _height |
double | _ma_xmin |
double | _ma_xmax |
double | _ma_ymin |
double | _ma_ymax |
xybool | _distortion |
xybool | _doublebuffering |
Private Attributes | |
xybool | _dont_destroy_cdcanvas |
XYList< XYSlice > | _aux_slices |
|
Definition at line 23 of file xygra.cpp. References activateCanvas(), defineViewport(), propagateViewport(), XYObject::setWindow(), XY_GRAY, XY_WHITE, xyfalse, and xytrue. |
|
Definition at line 56 of file xygra.cpp. References activateCanvas(), defineViewport(), propagateViewport(), XYObject::setWindow(), XY_GRAY, XY_WHITE, xyfalse, and xytrue. |
|
Definition at line 88 of file xygra.cpp. References _cdcanvas, _dont_destroy_cdcanvas, and xyfalse. |
|
Definition at line 434 of file xygra.cpp. References _cdcanvas, _cvimage, _image, _image_h, _image_w, canvasImage(), createImage(), setCdCanvas(), XYObject::setViewport(), and XYObject::setWindow(). Referenced by XYPolar::calcMaskArea(), XYCartesian::calcMaskArea(), clear(), XYPolar::draw(), XYCartesian::draw(), draw(), XYCartesian::drawMaskArea(), fence(), pick(), pickArea(), pickAxis(), pickLegend(), pickMarker(), pickMask(), pickSlice(), pickText(), print(), scroll(), and XYGraph(). |
|
Definition at line 279 of file xygra.cpp. References _areas. |
|
Definition at line 264 of file xygra.cpp. References _axes. Referenced by propagateViewport(). |
|
Definition at line 312 of file xygra.cpp. References _color. |
|
Definition at line 307 of file xygra.cpp. References _color. |
|
Implements XYObject. |
|
Implemented in XYCartesian, and XYPolar. |
|
Definition at line 165 of file xygra.cpp. References _cvimage. Referenced by activateCanvas(), and flush(). |
|
Definition at line 158 of file xygra.cpp. References _cvimage. |
|
Definition at line 1062 of file xygra.cpp. References activateCanvas(). |
|
Definition at line 1044 of file xygra.cpp. References activateCanvas(), defineViewport(), and XYObject::getViewport(). |
|
Definition at line 641 of file xygra.cpp. References _legend, XYListIterator< T >::Contains(), xybool, xyfalse, and xytrue. |
|
Definition at line 170 of file xygra.cpp. References _image, _image_h, and _image_w. Referenced by activateCanvas(). |
|
Definition at line 289 of file xygra.cpp. References _decorators. |
|
Definition at line 390 of file xygra.cpp. References _height, _width, position(), and XYObject::setViewport(). Referenced by clear(), XYPolar::draw(), XYCartesian::draw(), height(), position(), width(), and XYGraph(). |
|
Definition at line 372 of file xygra.cpp. References _distortion, and xybool. Referenced by XYPolar::XYPolar(). |
|
Definition at line 367 of file xygra.cpp. References _distortion. |
|
Definition at line 385 of file xygra.cpp. References _doublebuffering, and xybool. Referenced by XYCartesian::draw(). |
|
Definition at line 377 of file xygra.cpp. References _doublebuffering, and xybool. |
|
Implements XYObject. Reimplemented in XYCartesian, and XYPolar. Definition at line 1218 of file xygra.cpp. References _legend, activateCanvas(), XYMarker::draw(), draw(), XYListIterator< T >::End(), XYListIterator< T >::Next(), XYListIterator< T >::Reset(), XYObject::setViewport(), XYObject::setWindow(), XYObject::visible(), and xyfalse. |
|
Implements XYObject. Reimplemented in XYCartesian, and XYPolar. Definition at line 1205 of file xygra.cpp. References activateCanvas(), XYObject::getViewport(), XYObject::visible(), and xyfalse. Referenced by XYPolar::draw(), XYCartesian::draw(), draw(), drawMaskArea(), and print(). |
|
Reimplemented in XYCartesian, and XYPolar. Definition at line 1296 of file xygra.cpp. References _ma_xmax, _ma_xmin, _ma_ymax, _ma_ymin, draw(), XYListIterator< T >::End(), mtEqual(), XYListIterator< T >::Next(), position(), XYObject::setViewport(), XYObject::setWindow(), and XY_PI. |
|
Implemented in XYCartesian, and XYPolar. Referenced by XYPolar::drawMaskArea(), XYCartesian::drawMaskArea(), and scroll(). |
|
Reimplemented in XYCartesian, and XYPolar. Definition at line 942 of file xygra.cpp. References _legend, activateCanvas(), XYListIterator< T >::End(), XYArea::fence(), insert(), XYListIterator< T >::Next(), XYObject::setViewport(), and XYObject::setWindow(). Referenced by XYPolar::fence(), and XYCartesian::fence(). |
|
Definition at line 531 of file xygra.cpp. References canvasImage(), XYObject::getViewport(), and position(). Referenced by XYPolar::draw(), and XYCartesian::draw(). |
|
Definition at line 153 of file xygra.cpp. References _cdcanvas. |
|
Definition at line 519 of file xygra.cpp. References _ma_xmax, _ma_xmin, _ma_ymax, _ma_ymin, and XYObject::getViewport(). |
|
Definition at line 358 of file xygra.cpp. References _ma_xmax, _ma_xmin, _ma_ymax, and _ma_ymin. Referenced by XYCartesian::draw(), XYPolar::drawMaskArea(), XYCartesian::drawMaskArea(), maskAreaClear(), propagateViewport(), and scroll(). |
|
Definition at line 344 of file xygra.cpp. References _height. |
|
Definition at line 338 of file xygra.cpp. References _height, and defineViewport(). |
|
Definition at line 213 of file xygra.cpp. References _decorators, and XYList< XYObject >::insertEnd(). |
|
Definition at line 207 of file xygra.cpp. References _areas, and XYList< XYArea >::insertEnd(). |
|
Definition at line 201 of file xygra.cpp. References _slices, and XYList< XYSlice >::insertEnd(). |
|
Definition at line 195 of file xygra.cpp. References _markers, and XYList< XYMarker >::insert(). |
|
Definition at line 189 of file xygra.cpp. References _masks, and XYList< XYMask >::insert(). |
|
Definition at line 183 of file xygra.cpp. References _axes, and XYList< XYAxis >::insert(). |
|
Definition at line 177 of file xygra.cpp. References _titles, and XYList< XYText >::insert(). Referenced by XYPolar::fence(), XYCartesian::fence(), fence(), and XYCartesian::markerCreate(). |
|
Definition at line 302 of file xygra.cpp. References _legend. |
|
|
|
Definition at line 274 of file xygra.cpp. References _markers. Referenced by XYCartesian::markerCreate(). |
|
Implemented in XYCartesian, and XYPolar. |
|
Definition at line 562 of file xygra.cpp. References XYListIterator< T >::End(), and XYListIterator< T >::Next(). |
|
Definition at line 269 of file xygra.cpp. References _masks. Referenced by legend(). |
|
Definition at line 1084 of file xygra.cpp. References getMaskArea(). Referenced by XYPolar::draw(), and XYCartesian::draw(). |
|
Definition at line 322 of file xygra.cpp. References _ma_color. |
|
Definition at line 317 of file xygra.cpp. References _ma_color. |
|
Reimplemented in XYCartesian, and XYPolar. Definition at line 687 of file xygra.cpp. References _aux_slices, _legend, activateCanvas(), XYListIterator< T >::End(), XYList< XYSlice >::insert(), XYListIterator< T >::Next(), XYList< XYSlice >::remove(), XYListIterator< T >::Reset(), XYObject::setViewport(), and XYObject::setWindow(). Referenced by XYPolar::pick(), XYCartesian::pick(), pickAxis(), pickLegend(), pickMarker(), pickMask(), pickSlice(), and pickText(). |
|
Definition at line 812 of file xygra.cpp. References activateCanvas(), XYListIterator< T >::End(), XYListIterator< T >::Next(), and XYArea::pick(). |
|
Definition at line 792 of file xygra.cpp. References activateCanvas(), XYListIterator< T >::End(), XYListIterator< T >::Next(), and pick(). |
|
Definition at line 910 of file xygra.cpp. References _legend, activateCanvas(), and pick(). |
|
Definition at line 870 of file xygra.cpp. References activateCanvas(), XYListIterator< T >::End(), XYListIterator< T >::Next(), and pick(). |
|
Definition at line 890 of file xygra.cpp. References activateCanvas(), XYListIterator< T >::End(), XYListIterator< T >::Next(), and pick(). |
|
Definition at line 827 of file xygra.cpp. References _aux_slices, activateCanvas(), XYListIterator< T >::End(), XYList< XYSlice >::insert(), XYListIterator< T >::Next(), pick(), XYList< XYSlice >::remove(), and XYListIterator< T >::Reset(). |
|
Definition at line 922 of file xygra.cpp. References activateCanvas(), XYListIterator< T >::End(), XYListIterator< T >::Next(), and pick(). |
|
Reimplemented from XYObject. Definition at line 143 of file xygra.cpp. References XYObject::position(). Referenced by XYPolar::calcMaskArea(), XYCartesian::calcMaskArea(), defineViewport(), drawMaskArea(), flush(), and XYCartesian::propagateViewport(). |
|
Reimplemented from XYObject. Definition at line 128 of file xygra.cpp. References XYObject::getViewport(), XYObject::position(), and XYObject::setViewport(). |
|
Reimplemented from XYObject. Definition at line 113 of file xygra.cpp. References XYObject::getViewport(), XYObject::position(), and XYObject::setViewport(). |
|
Reimplemented from XYObject. Definition at line 107 of file xygra.cpp. References defineViewport(), and XYObject::position(). |
|
Reimplemented from XYObject. Definition at line 101 of file xygra.cpp. References defineViewport(), and XYObject::position(). |
|
Definition at line 1033 of file xygra.cpp. References _cdcanvas, activateCanvas(), and draw(). |
|
Reimplemented in XYCartesian, and XYPolar. Definition at line 1109 of file xygra.cpp. References _legend, axis(), XYListIterator< T >::End(), getMaskArea(), XYObject::getViewport(), XYListIterator< T >::Next(), and XYObject::setViewport(). Referenced by XYPolar::propagateViewport(), XYCartesian::propagateViewport(), and XYGraph(). |
|
Definition at line 254 of file xygra.cpp. References _decorators, and XYList< XYObject >::remove(). |
|
Definition at line 242 of file xygra.cpp. References _areas, and XYList< XYArea >::remove(). |
|
Definition at line 248 of file xygra.cpp. References _slices, and XYList< XYSlice >::remove(). |
|
Definition at line 236 of file xygra.cpp. References _markers, and XYList< XYMarker >::remove(). |
|
Definition at line 230 of file xygra.cpp. References _masks, and XYList< XYMask >::remove(). |
|
Definition at line 224 of file xygra.cpp. References _axes, and XYList< XYAxis >::remove(). |
|
Definition at line 218 of file xygra.cpp. References _titles, and XYList< XYText >::remove(). |
|
Definition at line 578 of file xygra.cpp. References activateCanvas(), drawMaskArea(), and getMaskArea(). |
|
Definition at line 148 of file xygra.cpp. References _cdcanvas. Referenced by activateCanvas(). |
|
|
|
Definition at line 284 of file xygra.cpp. References _slices. |
|
Definition at line 259 of file xygra.cpp. References _titles. |
|
Definition at line 333 of file xygra.cpp. References _width. |
|
Definition at line 327 of file xygra.cpp. References _width, and defineViewport(). |
|
|
|
Definition at line 280 of file xygra.h. Referenced by pick(), and pickSlice(). |
|
|
|
|
|
Definition at line 255 of file xygra.h. Referenced by activateCanvas(), getCdCanvas(), print(), setCdCanvas(), and ~XYGraph(). |
|
Definition at line 268 of file xygra.h. Referenced by backgroundColor(). |
|
Definition at line 256 of file xygra.h. Referenced by activateCanvas(), and canvasImage(). |
|
Definition at line 266 of file xygra.h. Referenced by decorator(), insert(), and remove(). |
|
Definition at line 274 of file xygra.h. Referenced by distortion(). |
|
Definition at line 279 of file xygra.h. Referenced by ~XYGraph(). |
|
Definition at line 275 of file xygra.h. Referenced by doubleBuffering(). |
|
Definition at line 271 of file xygra.h. Referenced by defineViewport(), and height(). |
|
Definition at line 257 of file xygra.h. Referenced by activateCanvas(), and createImage(). |
|
Definition at line 259 of file xygra.h. Referenced by activateCanvas(), and createImage(). |
|
Definition at line 258 of file xygra.h. Referenced by activateCanvas(), and createImage(). |
|
Definition at line 267 of file xygra.h. Referenced by contains(), draw(), fence(), legend(), pick(), pickLegend(), and propagateViewport(). |
|
Definition at line 269 of file xygra.h. Referenced by maskAreaColor(). |
|
Definition at line 272 of file xygra.h. Referenced by XYPolar::calcMaskArea(), XYCartesian::calcMaskArea(), drawMaskArea(), getMaskArea(), and setMaskArea(). |
|
Definition at line 272 of file xygra.h. Referenced by XYPolar::calcMaskArea(), XYCartesian::calcMaskArea(), drawMaskArea(), getMaskArea(), and setMaskArea(). |
|
Definition at line 272 of file xygra.h. Referenced by XYPolar::calcMaskArea(), XYCartesian::calcMaskArea(), drawMaskArea(), getMaskArea(), and setMaskArea(). |
|
Definition at line 272 of file xygra.h. Referenced by XYPolar::calcMaskArea(), XYCartesian::calcMaskArea(), drawMaskArea(), getMaskArea(), and setMaskArea(). |
|
|
|
|
|
|
|
|
|
Definition at line 270 of file xygra.h. Referenced by defineViewport(), and width(). |