OOFILE  1.9
Public Member Functions | Static Public Member Functions | List of all members

Specify drawing styles used in graphs. More...

#include <oofDStyl.h>

Public Member Functions

const oofColorbackColor () const
 
const oofPatterncolorPattern () const
 
const oofPatterncurrentPattern () const
 
const oofColorforeColor () const
 
const oofPatternmonoPattern () const
 
 oofDrawStyle (const oofColor &fg=oofColor::Black, const oofPattern &colPat=oofPattern::gray, const oofPattern &monoPat=oofPattern::gray, const oofColor &bg=oofColor::White, oofSymbol *sym=0, bool adoptsSymbol=false)
 
 oofDrawStyle (const oofDrawStyle &)
 
 oofDrawStyle (const oofDrawStyle *)
 
const oofDrawStyleoperator= (oofDrawStyle &)
 
void setJustColorPattern (const oofPattern &)
 
void setJustMonoPattern (const oofPattern &)
 
void setPattern (const oofPattern &)
 
oofSymbolsymbol () const
 
void useStyleColors () const
 
 ~oofDrawStyle ()
 

Static Public Member Functions

static bool isMono ()
 
static void setStyleToColor ()
 
static void setStyleToMono ()
 

Detailed Description

Specify drawing styles used in graphs.

See also
oofColorable

Definition at line 32 of file oofDStyl.h.

Constructor & Destructor Documentation

oofDrawStyle::oofDrawStyle ( const oofColor fg = oofColor::Black,
const oofPattern colPat = oofPattern::gray,
const oofPattern monoPat = oofPattern::gray,
const oofColor bg = oofColor::White,
oofSymbol sym = 0,
bool  adoptsSymbol = false 
)

Definition at line 48 of file oofDStyl.cpp.

References oofSymbol::clone().

oofDrawStyle::oofDrawStyle ( const oofDrawStyle rhs)

Definition at line 72 of file oofDStyl.cpp.

References oofSymbol::clone().

oofDrawStyle::oofDrawStyle ( const oofDrawStyle rhs)

Definition at line 84 of file oofDStyl.cpp.

References oofSymbol::clone().

oofDrawStyle::~oofDrawStyle ( )

Definition at line 97 of file oofDStyl.cpp.

Member Function Documentation

const oofColor & oofDrawStyle::backColor ( ) const

Definition at line 190 of file oofDStyl.cpp.

Referenced by useStyleColors().

const oofPattern & oofDrawStyle::colorPattern ( ) const

Definition at line 197 of file oofDStyl.cpp.

const oofPattern & oofDrawStyle::currentPattern ( ) const

Definition at line 211 of file oofDStyl.cpp.

References isMono().

Referenced by oofGeoColumn::DrawSelf(), oofGeoBar::DrawSelf(), and oofGeoSector::DrawSelf().

const oofColor & oofDrawStyle::foreColor ( ) const
bool oofDrawStyle::isMono ( )
static
const oofPattern & oofDrawStyle::monoPattern ( ) const

Definition at line 204 of file oofDStyl.cpp.

const oofDrawStyle & oofDrawStyle::operator= ( oofDrawStyle rhs)

Definition at line 113 of file oofDStyl.cpp.

void oofDrawStyle::setJustColorPattern ( const oofPattern inPattern)

Definition at line 157 of file oofDStyl.cpp.

void oofDrawStyle::setJustMonoPattern ( const oofPattern inPattern)

Definition at line 170 of file oofDStyl.cpp.

void oofDrawStyle::setPattern ( const oofPattern inPattern)

Definition at line 134 of file oofDStyl.cpp.

void oofDrawStyle::setStyleToColor ( )
static

Definition at line 263 of file oofDStyl.cpp.

Referenced by oofGraph::DrawSelf().

void oofDrawStyle::setStyleToMono ( )
static

Definition at line 256 of file oofDStyl.cpp.

Referenced by oofGraph::DrawSelf().

oofSymbol* oofDrawStyle::symbol ( ) const
inline

Definition at line 54 of file oofDStyl.h.

Referenced by oofGeoPoint::DrawSelf().

void oofDrawStyle::useStyleColors ( ) const

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