Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XYCartesianMarker Class Reference

#include <xymkca.h>

Inheritance diagram for XYCartesianMarker:

Inheritance graph
[legend]
Collaboration diagram for XYCartesianMarker:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYCartesianMarker (const XYAxis *axis, double pos, long color, int width, LineStyle style, xybool visible=xytrue)
virtual ~XYCartesianMarker (void)
virtual xybool pick (int px, int py)
virtual xybool fence (int x0, int y0, int x1, int y1)
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

Constructor & Destructor Documentation

XYCartesianMarker::XYCartesianMarker const XYAxis   axis,
double    pos,
long    color,
int    width,
LineStyle    style,
xybool    visible = xytrue
 

Definition at line 15 of file xymkca.cpp.

virtual XYCartesianMarker::~XYCartesianMarker void    [inline, virtual]
 

Definition at line 30 of file xymkca.h.


Member Function Documentation

void XYCartesianMarker::boundingBox int &    bxmin,
int &    bymin,
int &    bxmax,
int &    bymax
const [virtual]
 

Implements XYMarker.

Definition at line 115 of file xymkca.cpp.

References XYMarker::axis(), XYMarker::limit(), MAX, MIN, XYMarker::pos(), XYObject::position(), XYObject::visible(), XY_PI, and xyfalse.

Referenced by fence(), and pick().

void XYCartesianMarker::draw int    xmin,
int    ymin,
int    xmax,
int    ymax
const [virtual]
 

Implements XYMarker.

Definition at line 60 of file xymkca.cpp.

References XYMarker::axis(), XYMarker::color(), XYObject::getViewport(), XYMarker::limit(), MAX, MIN, XYMarker::pos(), XYObject::position(), XYMarker::style(), XYObject::visible(), XYMarker::width(), XY_PI, and xyfalse.

void XYCartesianMarker::draw void    [virtual]
 

Implements XYMarker.

Definition at line 26 of file xymkca.cpp.

References XYObject::getViewport().

xybool XYCartesianMarker::fence int    x0,
int    y0,
int    x1,
int    y1
[virtual]
 

Implements XYMarker.

Definition at line 48 of file xymkca.cpp.

References boundingBox(), mtInclude(), XYObject::visible(), xybool, and xyfalse.

xybool XYCartesianMarker::pick int    px,
int    py
[virtual]
 

Implements XYMarker.

Definition at line 36 of file xymkca.cpp.

References boundingBox(), mtPointInRect(), XYObject::visible(), xybool, and xyfalse.


The documentation for this class was generated from the following files:
XY
Tecgraf / PUC-Rio - Computer Graphics Technology Group