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

Style for repetive drawing of symbols on top of a path. More...

#include <StyleConfig.h>

+ Inheritance diagram for osmscout::PathSymbolStyle:

Public Types

enum  Attribute { attrSymbol, attrSymbolSpace, attrDisplayOffset, attrOffset }
 

Public Member Functions

void CopyAttributes (const PathSymbolStyle &other, const std::set< Attribute > &attributes)
 
double GetDisplayOffset () const
 
double GetOffset () const
 
const SymbolRefGetSymbol () const
 
double GetSymbolSpace () const
 
bool IsVisible () const
 
 PathSymbolStyle ()
 
 PathSymbolStyle (const PathSymbolStyle &style)
 
PathSymbolStyleSetDisplayOffset (double value)
 
void SetDoubleValue (int attribute, double value)
 
PathSymbolStyleSetOffset (double value)
 
PathSymbolStyleSetSymbol (const SymbolRef &symbol)
 
PathSymbolStyleSetSymbolSpace (double space)
 
void SetSymbolValue (int attribute, const SymbolRef &value)
 
- Public Member Functions inherited from osmscout::Style
virtual void SetBoolValue (int attribute, bool value)
 
virtual void SetColorValue (int attribute, const Color &value)
 
virtual void SetDoubleArrayValue (int attribute, const std::vector< double > &value)
 
virtual void SetIntValue (int attribute, int value)
 
virtual void SetLabelValue (int attribute, const LabelProviderRef &value)
 
virtual void SetMagnificationValue (int attribute, const Magnification &value)
 
virtual void SetStringValue (int attribute, const std::string &value)
 
virtual void SetUIntValue (int attribute, size_t value)
 
virtual ~Style ()
 

Static Public Member Functions

static StyleDescriptorRef GetDescriptor ()
 

Detailed Description

Style for repetive drawing of symbols on top of a path.

Member Enumeration Documentation

Enumerator
attrSymbol 
attrSymbolSpace 
attrDisplayOffset 
attrOffset 

Constructor & Destructor Documentation

osmscout::PathSymbolStyle::PathSymbolStyle ( )
osmscout::PathSymbolStyle::PathSymbolStyle ( const PathSymbolStyle style)

Member Function Documentation

void osmscout::PathSymbolStyle::CopyAttributes ( const PathSymbolStyle other,
const std::set< Attribute > &  attributes 
)
StyleDescriptorRef osmscout::PathSymbolStyle::GetDescriptor ( )
static
double osmscout::PathSymbolStyle::GetDisplayOffset ( ) const
inline
double osmscout::PathSymbolStyle::GetOffset ( ) const
inline
const SymbolRef& osmscout::PathSymbolStyle::GetSymbol ( ) const
inline
double osmscout::PathSymbolStyle::GetSymbolSpace ( ) const
inline
bool osmscout::PathSymbolStyle::IsVisible ( ) const
inline
PathSymbolStyle & osmscout::PathSymbolStyle::SetDisplayOffset ( double  value)

Referenced by SetDoubleValue().

void osmscout::PathSymbolStyle::SetDoubleValue ( int  attribute,
double  value 
)
virtual
PathSymbolStyle & osmscout::PathSymbolStyle::SetOffset ( double  value)

Referenced by SetDoubleValue().

PathSymbolStyle & osmscout::PathSymbolStyle::SetSymbol ( const SymbolRef symbol)

Referenced by SetSymbolValue().

PathSymbolStyle & osmscout::PathSymbolStyle::SetSymbolSpace ( double  space)

Referenced by SetDoubleValue().

void osmscout::PathSymbolStyle::SetSymbolValue ( int  attribute,
const SymbolRef value 
)
virtual

Reimplemented from osmscout::Style.

References attrSymbol, and SetSymbol().


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