libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::FillStyle Class Reference

Index selectors by type and level. More...

#include <StyleConfig.h>

+ Inheritance diagram for osmscout::FillStyle:

Public Types

enum  Attribute { attrFillColor, attrPattern, attrPatternMinMag }

Public Member Functions

void CopyAttributes (const FillStyle &other, const std::set< Attribute > &attributes)
 FillStyle ()
 FillStyle (const FillStyle &style)
const ColorGetFillColor () const
size_t GetPatternId () const
const MagnificationGetPatternMinMag () const
std::string GetPatternName () const
bool HasPattern () const
bool IsVisible () const
bool operator!= (const FillStyle &other) const
bool operator< (const FillStyle &other) const
bool operator== (const FillStyle &other) const
void SetColorValue (int attribute, const Color &value)
FillStyleSetFillColor (const Color &color)
void SetMagnificationValue (int attribute, const Magnification &value)
FillStyleSetPattern (const std::string &pattern)
void SetPatternId (size_t id) const
FillStyleSetPatternMinMag (const Magnification &mag)
void SetStringValue (int attribute, const std::string &value)
- Public Member Functions inherited from osmscout::Style
virtual void SetBoolValue (int attribute, bool value)
virtual void SetDoubleArrayValue (int attribute, const std::vector< double > &value)
virtual void SetDoubleValue (int attribute, double value)
virtual void SetIntValue (int attribute, int value)
virtual void SetLabelValue (int attribute, const LabelProviderRef &value)
virtual void SetSymbolValue (int attribute, const SymbolRef &value)
virtual void SetUIntValue (int attribute, size_t value)
virtual ~Style ()

Static Public Member Functions

static StyleDescriptorRef GetDescriptor ()

Detailed Description

Index selectors by type and level.

Style options for filling an area.

Member Enumeration Documentation


Constructor & Destructor Documentation

osmscout::FillStyle::FillStyle ( )
osmscout::FillStyle::FillStyle ( const FillStyle style)

Member Function Documentation

void osmscout::FillStyle::CopyAttributes ( const FillStyle other,
const std::set< Attribute > &  attributes 
StyleDescriptorRef osmscout::FillStyle::GetDescriptor ( )
size_t osmscout::FillStyle::GetPatternId ( ) const
const Magnification& osmscout::FillStyle::GetPatternMinMag ( ) const
std::string osmscout::FillStyle::GetPatternName ( ) const
bool osmscout::FillStyle::HasPattern ( ) const
bool osmscout::FillStyle::IsVisible ( ) const
bool osmscout::FillStyle::operator!= ( const FillStyle other) const

References operator==().

bool osmscout::FillStyle::operator< ( const FillStyle other) const
bool osmscout::FillStyle::operator== ( const FillStyle other) const

Referenced by operator!=().

void osmscout::FillStyle::SetColorValue ( int  attribute,
const Color value 

Reimplemented from osmscout::Style.

References attrFillColor, and SetFillColor().

FillStyle & osmscout::FillStyle::SetFillColor ( const Color color)
void osmscout::FillStyle::SetMagnificationValue ( int  attribute,
const Magnification value 

Reimplemented from osmscout::Style.

References attrPatternMinMag, and SetPatternMinMag().

FillStyle & osmscout::FillStyle::SetPattern ( const std::string &  pattern)

Referenced by SetStringValue().

void osmscout::FillStyle::SetPatternId ( size_t  id) const
FillStyle & osmscout::FillStyle::SetPatternMinMag ( const Magnification mag)

Referenced by SetMagnificationValue().

void osmscout::FillStyle::SetStringValue ( int  attribute,
const std::string &  value 

Reimplemented from osmscout::Style.

References attrPattern, and SetPattern().

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