|
libosmscout 0.1
|
Abstract base class for all (point) labels. More...
#include <Styles.h>
Public Member Functions | |
| virtual double | GetAlpha () const =0 |
| size_t | GetPriority () const |
| double | GetSize () const |
| virtual bool | IsVisible () const =0 |
| LabelStyle () | |
| LabelStyle & | SetPriority (size_t priority) |
| virtual LabelStyle & | SetSize (double size) |
| 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 | SetDoubleValue (int attribute, 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 | SetSymbolValue (int attribute, const SymbolRef &value) |
| virtual void | SetUIntValue (int attribute, size_t value) |
| virtual | ~Style ()=default |
Abstract base class for all (point) labels.
All point labels have priority and a alpha value.
| osmscout::LabelStyle::LabelStyle | ( | ) |
Referenced by GetAlpha(), SetPriority(), and SetSize().
|
pure virtual |
Implemented in osmscout::ShieldStyle, and osmscout::TextStyle.
References LabelStyle(), SetPriority(), and SetSize().
|
inline |
|
inline |
|
pure virtual |
Implemented in osmscout::ShieldStyle, and osmscout::TextStyle.
| LabelStyle & osmscout::LabelStyle::SetPriority | ( | size_t | priority | ) |
References LabelStyle().
Referenced by osmscout::ShieldStyle::CopyAttributes(), osmscout::TextStyle::CopyAttributes(), GetAlpha(), and osmscout::TextStyle::SetUIntValue().
|
virtual |
Reimplemented in osmscout::ShieldStyle, and osmscout::TextStyle.
References LabelStyle().
Referenced by GetAlpha(), osmscout::ShieldStyle::SetSize(), and osmscout::TextStyle::SetSize().