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

XYArea Class Reference

#include <xyar.h>

Inheritance diagram for XYArea:

Inheritance graph
[legend]
Collaboration diagram for XYArea:

Collaboration graph
[legend]
List of all members.

Public Methods

 XYArea (const XYAxis *axis1, const XYAxis *axis2, double begin1, double end1, double begin2, double end2, xybool visible=xytrue)
virtual ~XYArea (void)
virtual void axis1 (const XYAxis *ax)
virtual const XYAxisaxis1 (void) const
virtual void axis2 (const XYAxis *ax)
virtual const XYAxisaxis2 (void) const
virtual void begin1 (double bm)
virtual double begin1 (void) const
virtual void end1 (double em)
virtual double end1 (void) const
virtual void begin2 (double bm)
virtual double begin2 (void) const
virtual void end2 (double em)
virtual double end2 (void) const
virtual void color (long c)
virtual long color (void) const
virtual void width (int w)
virtual int width (void) const
virtual void style (XYObject::LineStyle st)
virtual int style (void) const
char * text (void)
void text (char *txt)
virtual void textColor (long tc)
virtual long textColor (void) const
void textSize (int ts)
int textSize (void) const
virtual void backgroundColor (long bc)
virtual long backgroundColor (void) const
virtual void forcedText (xybool flg)
virtual xybool forcedText (void) const
virtual void insertAction (XYGraph *g)
virtual void removeAction (XYGraph *g)
virtual xybool pick (int px, int py)=0
virtual xybool fence (int x0, int y0, int x1, int y1)=0
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 _forced_text
char * _text
const XYAxis_axis1
const XYAxis_axis2
double _begin1
double _end1
double _begin2
double _end2
long _color
long _backgroundColor
long _textColor
int _textSize
int _width
LineStyle _style

Constructor & Destructor Documentation

XYArea::XYArea const XYAxis   axis1,
const XYAxis   axis2,
double    begin1,
double    end1,
double    begin2,
double    end2,
xybool    visible = xytrue
 

Definition at line 12 of file xyar.cpp.

References _axis1, _backgroundColor, _color, _style, _text, _textColor, _textSize, _width, XYObject::dashed, MIN, XYObject::position(), and XY_BLACK.

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

Definition at line 35 of file xyar.h.


Member Function Documentation

const XYAxis * XYArea::axis1 void    const [virtual]
 

Definition at line 49 of file xyar.cpp.

References _axis1.

void XYArea::axis1 const XYAxis   ax [virtual]
 

Definition at line 44 of file xyar.cpp.

References _axis1.

const XYAxis * XYArea::axis2 void    const [virtual]
 

Definition at line 79 of file xyar.cpp.

References _axis2.

void XYArea::axis2 const XYAxis   ax [virtual]
 

Definition at line 54 of file xyar.cpp.

References _axis2.

long XYArea::backgroundColor void    const [virtual]
 

Definition at line 180 of file xyar.cpp.

References _backgroundColor.

Referenced by XYCartesianArea::draw().

void XYArea::backgroundColor long    bc [virtual]
 

Definition at line 175 of file xyar.cpp.

References _backgroundColor.

double XYArea::begin1 void    const [virtual]
 

Definition at line 89 of file xyar.cpp.

References _begin1.

void XYArea::begin1 double    bm [virtual]
 

Definition at line 84 of file xyar.cpp.

References _begin1.

double XYArea::begin2 void    const [virtual]
 

Definition at line 109 of file xyar.cpp.

References _begin2.

void XYArea::begin2 double    bm [virtual]
 

Definition at line 104 of file xyar.cpp.

References _begin2.

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

Implements XYObject.

Implemented in XYCartesianArea.

long XYArea::color void    const [virtual]
 

Definition at line 129 of file xyar.cpp.

References _color.

Referenced by XYCartesianArea::draw().

void XYArea::color long    c [virtual]
 

Definition at line 124 of file xyar.cpp.

References _color.

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

Implements XYObject.

Implemented in XYCartesianArea.

virtual void XYArea::draw void    [pure virtual]
 

Implements XYObject.

Implemented in XYCartesianArea.

Referenced by XYCartesian::draw().

double XYArea::end1 void    const [virtual]
 

Definition at line 99 of file xyar.cpp.

References _end1.

void XYArea::end1 double    em [virtual]
 

Definition at line 94 of file xyar.cpp.

References _end1.

double XYArea::end2 void    const [virtual]
 

Definition at line 119 of file xyar.cpp.

References _end2.

void XYArea::end2 double    em [virtual]
 

Definition at line 114 of file xyar.cpp.

References _end2.

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

Implemented in XYCartesianArea.

Referenced by XYGraph::fence().

xybool XYArea::forcedText void    const [virtual]
 

Definition at line 170 of file xyar.cpp.

References _forced_text, and xybool.

void XYArea::forcedText xybool    flg [virtual]
 

Definition at line 165 of file xyar.cpp.

References _forced_text.

void XYArea::insertAction XYGraph   g [virtual]
 

Definition at line 186 of file xyar.cpp.

virtual xybool XYArea::pick int    px,
int    py
[pure virtual]
 

Implemented in XYCartesianArea.

Referenced by XYGraph::pickArea().

void XYArea::removeAction XYGraph   g [virtual]
 

Definition at line 191 of file xyar.cpp.

int XYArea::style void    const [virtual]
 

Definition at line 74 of file xyar.cpp.

References _style.

Referenced by XYCartesianArea::draw().

void XYArea::style XYObject::LineStyle    st [virtual]
 

Definition at line 69 of file xyar.cpp.

References _style.

void XYArea::text char *    txt
 

Definition at line 139 of file xyar.cpp.

References _text.

char * XYArea::text void   
 

Definition at line 134 of file xyar.cpp.

References _text.

long XYArea::textColor void    const [virtual]
 

Definition at line 160 of file xyar.cpp.

References _textColor.

void XYArea::textColor long    tc [virtual]
 

Definition at line 155 of file xyar.cpp.

References _textColor.

int XYArea::textSize void    const
 

Definition at line 150 of file xyar.cpp.

References _textSize.

void XYArea::textSize int    ts
 

Definition at line 145 of file xyar.cpp.

References _textSize.

int XYArea::width void    const [virtual]
 

Definition at line 64 of file xyar.cpp.

References _width.

Referenced by XYCartesianArea::draw().

void XYArea::width int    w [virtual]
 

Definition at line 59 of file xyar.cpp.

References _width.


Member Data Documentation

const XYAxis* XYArea::_axis1 [protected]
 

Definition at line 144 of file xyar.h.

Referenced by axis1(), XYCartesianArea::boundingBox(), XYCartesianArea::getClip(), and XYArea().

const XYAxis* XYArea::_axis2 [protected]
 

Definition at line 145 of file xyar.h.

Referenced by axis2(), XYCartesianArea::boundingBox(), and XYCartesianArea::getClip().

long XYArea::_backgroundColor [protected]
 

Definition at line 152 of file xyar.h.

Referenced by backgroundColor(), and XYArea().

double XYArea::_begin1 [protected]
 

Definition at line 147 of file xyar.h.

Referenced by begin1().

double XYArea::_begin2 [protected]
 

Definition at line 149 of file xyar.h.

Referenced by begin2().

long XYArea::_color [protected]
 

Definition at line 151 of file xyar.h.

Referenced by color(), and XYArea().

double XYArea::_end1 [protected]
 

Definition at line 148 of file xyar.h.

Referenced by end1().

double XYArea::_end2 [protected]
 

Definition at line 150 of file xyar.h.

Referenced by end2().

xybool XYArea::_forced_text [protected]
 

Definition at line 141 of file xyar.h.

Referenced by XYCartesianArea::draw(), and forcedText().

LineStyle XYArea::_style [protected]
 

Definition at line 156 of file xyar.h.

Referenced by style(), and XYArea().

char* XYArea::_text [protected]
 

Definition at line 142 of file xyar.h.

Referenced by text(), and XYArea().

long XYArea::_textColor [protected]
 

Definition at line 153 of file xyar.h.

Referenced by textColor(), and XYArea().

int XYArea::_textSize [protected]
 

Definition at line 154 of file xyar.h.

Referenced by textSize(), and XYArea().

int XYArea::_width [protected]
 

Definition at line 155 of file xyar.h.

Referenced by XYCartesianArea::getClip(), width(), and XYArea().


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