OOFILE  1.9
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members

Drawing primitive for vertical bars on graphs. More...

#include <oofGeos.h>

Inheritance diagram for oofGeoColumn:
Inheritance graph
[legend]
Collaboration diagram for oofGeoColumn:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

virtual oofRect BoundingRect (oofTransformationManager *)
 
virtual void describe (std::ostream &) const
 
void draw ()
 
const oofDrawStyledrawStyle () const
 
virtual oofString geoType () const
 
int locationX ()
 
int locationY ()
 
 oofGeoColumn (int XIdeal, int YIdeal, int width, int height, oofSeries *SeriesPtr=0, PositionState=posNone)
 
 oofGeoColumn (int XIdeal, int width, int height, oofSeries *SeriesPtr)
 
PositionState Position ()
 
oofSeriesSeriesPtr ()
 
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 &)
 
virtual void setLocation (long inXIdeal, long inYIdeal)
 
virtual void Transform (oofTransformationManager *inTransformationManagerPtr)
 

Protected Member Functions

virtual void DrawSelf (const oofDrawStyle *)
 
void setLabel (bool required, int value, int x, int y, int width)
 

Protected Attributes

int mDrawHeight
 
oofDrawStylemDrawStyle
 
int mDrawWidth
 
int mIdealHeight
 
int mIdealWidth
 
PositionState mPosition
 
bool mRequired
 
oofSeriesmSeriesPtr
 
int mTextWidth
 
int mValue
 
oofGeoTextmValueLabel
 
int mXDraw
 
int mXIdeal
 
int mXTextPos
 
int mYDraw
 
int mYIdeal
 
int mYTextPos
 

Detailed Description

Drawing primitive for vertical bars on graphs.

Definition at line 114 of file oofGeos.h.

Constructor & Destructor Documentation

oofGeoColumn::oofGeoColumn ( int  XIdeal,
int  YIdeal,
int  width,
int  height,
oofSeries SeriesPtr = 0,
PositionState  pos = posNone 
)

Definition at line 255 of file oofGeos.cpp.

References mIdealHeight, and mIdealWidth.

oofGeoColumn::oofGeoColumn ( int  XIdeal,
int  width,
int  height,
oofSeries SeriesPtr 
)

Definition at line 264 of file oofGeos.cpp.

References mIdealHeight, and mIdealWidth.

Member Function Documentation

oofRect oofGeoColumn::BoundingRect ( oofTransformationManager )
virtual
void oofGeoColumn::describe ( std::ostream &  ) const
virtual

Reimplemented from oofLabelledGeo.

Definition at line 458 of file oofGeos.cpp.

References oofLabelledGeo::describe(), mDrawHeight, mDrawWidth, mIdealHeight, and mIdealWidth.

void oofGeo::draw ( )
inherited
void oofGeoColumn::DrawSelf ( const oofDrawStyle inStyle)
protectedvirtual
const oofDrawStyle * oofColorable::drawStyle ( ) const
inlineinherited

Definition at line 60 of file oofClrbl.h.

References oofColorable::mDrawStyle.

Referenced by oofGeo::draw(), and oofColorable::oofColorable().

oofString oofGeoColumn::geoType ( ) const
virtual

Reimplemented from oofLabelledGeo.

Definition at line 469 of file oofGeos.cpp.

int oofGeo::locationX ( )
inlineinherited

Definition at line 56 of file oofGeos.h.

Referenced by oofGeoLine::DrawSelf().

int oofGeo::locationY ( )
inlineinherited

Definition at line 57 of file oofGeos.h.

Referenced by oofGeoLine::DrawSelf().

PositionState oofGeo::Position ( )
inlineinherited

Definition at line 51 of file oofGeos.h.

Referenced by oofPlotBits::append().

oofSeries * oofGeo::SeriesPtr ( )
inherited

Definition at line 68 of file oofGeos.cpp.

void oofColorable::setDrawStyle ( const oofColor fg = oofColor::Black,
const oofPattern pat = oofPattern::gray,
const oofPattern mono = oofPattern::gray,
const oofColor bg = oofColor::White 
)
inlineinherited

Definition at line 40 of file oofClrbl.h.

References oofColorable::mDrawStyle.

void oofColorable::setDrawStyle ( const oofDrawStyle inDrawStyle)
inlineinherited

Definition at line 48 of file oofClrbl.h.

References oofColorable::mDrawStyle.

void oofLabelledGeo::setLabel ( bool  required,
int  value,
int  x,
int  y,
int  width 
)
protectedinherited
void oofGeo::setLocation ( long  inXIdeal,
long  inYIdeal 
)
virtualinherited

Definition at line 75 of file oofGeos.cpp.

Referenced by oofPlotBits::append().

void oofGeoColumn::Transform ( oofTransformationManager inTransformationManagerPtr)
virtual

Member Data Documentation

int oofGeoColumn::mDrawHeight
protected

Definition at line 128 of file oofGeos.h.

Referenced by describe(), DrawSelf(), and Transform().

oofDrawStyle* oofColorable::mDrawStyle
protectedinherited
int oofGeoColumn::mDrawWidth
protected

Definition at line 128 of file oofGeos.h.

Referenced by describe(), DrawSelf(), and Transform().

int oofGeoColumn::mIdealHeight
protected

Definition at line 128 of file oofGeos.h.

Referenced by BoundingRect(), describe(), oofGeoColumn(), and Transform().

int oofGeoColumn::mIdealWidth
protected

Definition at line 128 of file oofGeos.h.

Referenced by BoundingRect(), describe(), oofGeoColumn(), and Transform().

PositionState oofGeo::mPosition
protectedinherited
bool oofLabelledGeo::mRequired
protectedinherited
oofSeries* oofGeo::mSeriesPtr
protectedinherited

Definition at line 74 of file oofGeos.h.

Referenced by oofGeoLine::DrawSelf(), and oofGeoLine::oofGeoLine().

int oofLabelledGeo::mTextWidth
protectedinherited
int oofLabelledGeo::mValue
protectedinherited
oofGeoText* oofLabelledGeo::mValueLabel
protectedinherited
int oofGeo::mXDraw
protectedinherited
int oofGeo::mXIdeal
protectedinherited
int oofLabelledGeo::mXTextPos
protectedinherited
int oofGeo::mYDraw
protectedinherited
int oofGeo::mYIdeal
protectedinherited
int oofLabelledGeo::mYTextPos
protectedinherited

The documentation for this class was generated from the following files: