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

Index selectors by type and level. More...

#include <StyleConfig.h>

+ Inheritance diagram for osmscout::PathTextStyle:

Public Types

enum  Attribute {
  attrLabel, attrSize, attrTextColor, attrDisplayOffset,
  attrOffset
}
 

Public Member Functions

void CopyAttributes (const PathTextStyle &other, const std::set< Attribute > &attributes)
 
double GetDisplayOffset () const
 
const LabelProviderRefGetLabel () const
 
double GetOffset () const
 
double GetSize () const
 
const ColorGetTextColor () const
 
bool IsVisible () const
 
 PathTextStyle ()
 
 PathTextStyle (const PathTextStyle &style)
 
void SetColorValue (int attribute, const Color &value)
 
PathTextStyleSetDisplayOffset (double value)
 
void SetDoubleValue (int attribute, double value)
 
PathTextStyleSetLabel (const LabelProviderRef &label)
 
void SetLabelValue (int attribute, const LabelProviderRef &value)
 
PathTextStyleSetOffset (double value)
 
PathTextStyleSetSize (double size)
 
PathTextStyleSetTextColor (const Color &color)
 
- 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 SetIntValue (int attribute, int value)
 
virtual void SetMagnificationValue (int attribute, const Magnification &value)
 
virtual void SetStringValue (int attribute, const std::string &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.

A style for drawing text onto a path, the text following the contour of the path.

Member Enumeration Documentation

Enumerator
attrLabel 
attrSize 
attrTextColor 
attrDisplayOffset 
attrOffset 

Constructor & Destructor Documentation

osmscout::PathTextStyle::PathTextStyle ( )
osmscout::PathTextStyle::PathTextStyle ( const PathTextStyle style)

Member Function Documentation

void osmscout::PathTextStyle::CopyAttributes ( const PathTextStyle other,
const std::set< Attribute > &  attributes 
)
StyleDescriptorRef osmscout::PathTextStyle::GetDescriptor ( )
static
double osmscout::PathTextStyle::GetDisplayOffset ( ) const
inline
const LabelProviderRef& osmscout::PathTextStyle::GetLabel ( ) const
inline
double osmscout::PathTextStyle::GetOffset ( ) const
inline
bool osmscout::PathTextStyle::IsVisible ( ) const
inline
void osmscout::PathTextStyle::SetColorValue ( int  attribute,
const Color value 
)
virtual

Reimplemented from osmscout::Style.

References attrTextColor, and SetTextColor().

PathTextStyle & osmscout::PathTextStyle::SetDisplayOffset ( double  value)

Referenced by SetDoubleValue().

void osmscout::PathTextStyle::SetDoubleValue ( int  attribute,
double  value 
)
virtual
PathTextStyle & osmscout::PathTextStyle::SetLabel ( const LabelProviderRef label)

Referenced by SetLabelValue().

void osmscout::PathTextStyle::SetLabelValue ( int  attribute,
const LabelProviderRef value 
)
virtual

Reimplemented from osmscout::Style.

References attrLabel, and SetLabel().

PathTextStyle & osmscout::PathTextStyle::SetOffset ( double  value)

Referenced by SetDoubleValue().

PathTextStyle & osmscout::PathTextStyle::SetSize ( double  size)

Referenced by SetDoubleValue().

PathTextStyle & osmscout::PathTextStyle::SetTextColor ( const Color color)

Referenced by SetColorValue().


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