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

XYDateScaleDecorator Class Reference

#include <xysddt.h>

Inheritance diagram for XYDateScaleDecorator:

Inheritance graph
[legend]
Collaboration diagram for XYDateScaleDecorator:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYDateScaleDecorator (XYText *scale)
virtual ~XYDateScaleDecorator (void)
virtual void delta (double delta)
virtual double delta (void) const
virtual void scale (XYText *s)
virtual XYTextscale (void) const
virtual void draw (const XYAxis *axis, int first_tick, int last_tick) const
virtual void boundingBox (const XYAxis *axis, int &xmin, int &ymin, int &xmax, int &ymax) const

Protected Attributes

XYText_scale
double _delta

Private Attributes

double _diff

Constructor & Destructor Documentation

XYDateScaleDecorator::XYDateScaleDecorator XYText   scale
 

Definition at line 24 of file xysddt.cpp.

References _diff, and delta().

XYDateScaleDecorator::~XYDateScaleDecorator void    [virtual]
 

Definition at line 48 of file xysddt.cpp.


Member Function Documentation

void XYDateScaleDecorator::boundingBox const XYAxis   axis,
int &    xmin,
int &    ymin,
int &    xmax,
int &    ymax
const [virtual]
 

Implements XYScaleDecorator.

Definition at line 220 of file xysddt.cpp.

References _delta, _scale, MAX3, MIN3, mtIntercept(), mtRotate(), and XY_PI.

Referenced by draw().

virtual double XYDateScaleDecorator::delta void    const [inline, virtual]
 

Definition at line 32 of file xysddt.h.

References _delta, and _diff.

Referenced by XYDateScaleDecorator().

virtual void XYDateScaleDecorator::delta double    delta [inline, virtual]
 

Definition at line 30 of file xysddt.h.

References _delta, and _diff.

void XYDateScaleDecorator::draw const XYAxis   axis,
int    first_tick,
int    last_tick
const [virtual]
 

Implements XYScaleDecorator.

Definition at line 62 of file xysddt.cpp.

References _delta, _scale, boundingBox(), mtIntercept(), mtLessEqual(), mtRotate(), and XY_PI.

XYText * XYDateScaleDecorator::scale void    const [virtual]
 

Definition at line 57 of file xysddt.cpp.

References _scale.

void XYDateScaleDecorator::scale XYText   s [virtual]
 

Definition at line 52 of file xysddt.cpp.

References _scale.


Member Data Documentation

double XYDateScaleDecorator::_delta [protected]
 

Definition at line 51 of file xysddt.h.

Referenced by boundingBox(), delta(), and draw().

double XYDateScaleDecorator::_diff [private]
 

Definition at line 55 of file xysddt.h.

Referenced by delta(), and XYDateScaleDecorator().

XYText* XYDateScaleDecorator::_scale [protected]
 

Definition at line 50 of file xysddt.h.

Referenced by boundingBox(), draw(), and scale().


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