Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

oofGeo Class Reference
[OOFILE Graphing engine.]

#include <oofGeos.h>

Inheritance diagram for oofGeo:

Inheritance graph
[legend]
Collaboration diagram for oofGeo:

Collaboration graph
[legend]
List of all members.

Detailed Description

Graph Element Object drawn in an oofGraph.

These are cross-platform as their drawing code is so trivial it is bounded by the _Macintosh and _Windows #defines.

Note:
UnJames comments refer to reversing the original port from the Mac by a programmer who shall otherwise remain nameless.
Todo:
clarify the legal position of our PNG and GIF drawing via GD.


Public Types

enum  PositionState {
  posNone, posTop, posLeft, posRight,
  posBottom, posBelow, posToLeft, posCentre
}

Public Member Functions

 oofGeo (int XIdeal, int YIdeal, oofSeries *SeriesPtr=0, PositionState=posNone)
virtual ~oofGeo ()
oofSeriesSeriesPtr ()
PositionState Position ()
virtual oofRect BoundingRect (oofTransformationManager *)
virtual void setLocation (long inXIdeal, long inYIdeal)
virtual void describe (std::ostream &) const
virtual oofString geoType () const
int locationX ()
int locationY ()
void draw ()
virtual void Transform (oofTransformationManager *inTransformationManagerPtr)=0
void setDrawStyle (const oofColor &fg=oofColor::Black, const oofPattern &pat=oofPattern::gray, const oofPattern &mono=oofPattern::gray, const oofColor &bg=oofColor::White)
void setDrawStyle (const oofDrawStyle &)
const oofDrawStyledrawStyle () const

Protected Member Functions

virtual void DrawSelf (const oofDrawStyle *)

Protected Attributes

int mXIdeal
int mYIdeal
int mXDraw
int mYDraw
oofSeriesmSeriesPtr
PositionState mPosition
oofDrawStylemDrawStyle


Member Enumeration Documentation

enum oofGeo::PositionState
 

Enumeration values:
posNone 
posTop 
posLeft 
posRight 
posBottom 
posBelow 
posToLeft 
posCentre 


Constructor & Destructor Documentation

oofGeo::oofGeo int  XIdeal,
int  YIdeal,
oofSeries SeriesPtr = 0,
PositionState  = posNone
 

oofGeo::~oofGeo  )  [virtual]
 


Member Function Documentation

oofRect oofGeo::BoundingRect oofTransformationManager  )  [virtual]
 

Reimplemented in oofGeoColumn, oofGeoPoint, oofGeoBar, oofGeoSector, oofGeoText, oofGeoSuppressibleText, oofGeoXAxis, oofGeoYAxis, and oofGeoLegend.

void oofGeo::describe std::ostream &   )  const [virtual]
 

Reimplemented in oofLabelledGeo, oofGeoColumn, oofGeoPoint, oofGeoLine, oofGeoBar, oofGeoSector, oofGeoText, oofGeoSuppressibleText, oofGeoXAxis, oofGeoYAxis, oofGeoLegend, and oofGeoCircle.

void oofGeo::draw  ) 
 

virtual void oofGeo::DrawSelf const oofDrawStyle  )  [inline, protected, virtual]
 

Reimplemented in oofLabelledGeo, oofGeoColumn, oofGeoPoint, oofGeoLine, oofGeoBar, oofGeoSector, oofGeoText, oofGeoSuppressibleText, oofGeoXTickLabel, and oofGeoYTickLabel.

const oofDrawStyle * oofColorable::drawStyle  )  const [inline, inherited]
 

oofString oofGeo::geoType  )  const [virtual]
 

Reimplemented in oofLabelledGeo, oofGeoColumn, oofGeoPoint, oofGeoLine, oofGeoBar, oofGeoSector, oofGeoText, oofGeoSuppressibleText, oofGeoTitle, oofGeoXLabel, oofGeoYLabel, oofGeoXTickLabel, oofGeoYTickLabel, oofGeoXAxis, oofGeoYAxis, oofGeoLegend, and oofGeoCircle.

int oofGeo::locationX  )  [inline]
 

int oofGeo::locationY  )  [inline]
 

PositionState oofGeo::Position  )  [inline]
 

oofSeries * oofGeo::SeriesPtr  ) 
 

void oofColorable::setDrawStyle const oofDrawStyle  )  [inline, inherited]
 

void oofColorable::setDrawStyle const oofColor fg = oofColor::Black,
const oofPattern pat = oofPattern::gray,
const oofPattern mono = oofPattern::gray,
const oofColor bg = oofColor::White
[inline, inherited]
 

void oofGeo::setLocation long  inXIdeal,
long  inYIdeal
[virtual]
 

virtual void oofGeo::Transform oofTransformationManager inTransformationManagerPtr  )  [pure virtual]
 

Implemented in oofLabelledGeo, oofGeoColumn, oofGeoPoint, oofGeoBar, oofGeoSector, oofGeoText, oofGeoTitle, oofGeoXLabel, oofGeoYLabel, oofGeoXTickLabel, oofGeoYTickLabel, oofGeoXAxis, oofGeoYAxis, oofGeoLegend, and oofGeoCircle.


Member Data Documentation

oofDrawStyle* oofColorable::mDrawStyle [protected, inherited]
 

PositionState oofGeo::mPosition [protected]
 

oofSeries* oofGeo::mSeriesPtr [protected]
 

int oofGeo::mXDraw [protected]
 

int oofGeo::mXIdeal [protected]
 

int oofGeo::mYDraw [protected]
 

int oofGeo::mYIdeal [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 1 21:36:39 2004 for OOFILE by doxygen 1.3.5