|
libosmscout
1.1.1
|
#include <libosmscout-map/include/osmscout/Styles.h>


Public Types | |
| enum | Attribute { attrLabel, attrSize, attrTextColor, attrDisplayOffset, attrOffset, attrPriority } |
Public Member Functions | |
| PathTextStyle () | |
| PathTextStyle (const PathTextStyle &style) | |
| void | SetColorValue (int attribute, const Color &value) override |
| void | SetDoubleValue (int attribute, double value) override |
| void | SetLabelValue (int attribute, const LabelProviderRef &value) override |
| void | SetUIntValue (int attribute, size_t value) override |
| PathTextStyle & | SetLabel (const LabelProviderRef &label) |
| PathTextStyle & | SetSize (double size) |
| PathTextStyle & | SetTextColor (const Color &color) |
| PathTextStyle & | SetDisplayOffset (double value) |
| PathTextStyle & | SetOffset (double value) |
| PathTextStyle & | SetPriority (size_t value) |
| bool | IsVisible () const |
| const LabelProviderRef & | GetLabel () const |
| double | GetSize () const |
| const Color & | GetTextColor () const |
| double | GetDisplayOffset () const |
| double | GetOffset () const |
| size_t | GetPriority () const |
| void | CopyAttributes (const PathTextStyle &other, const std::set< Attribute > &attributes) |
Public Member Functions inherited from osmscout::Style | |
| virtual | ~Style ()=default |
| virtual void | SetBoolValue (int attribute, bool value) |
| virtual void | SetStringValue (int attribute, const std::string &value) |
| virtual void | SetMagnificationValue (int attribute, const Magnification &value) |
| virtual void | SetDoubleArrayValue (int attribute, const std::vector< double > &value) |
| virtual void | SetSymbolValue (int attribute, const SymbolRef &value) |
| virtual void | SetIntValue (int attribute, int value) |
Static Public Member Functions | |
| static StyleDescriptorRef | GetDescriptor () |
A style for drawing text onto a path, the text following the contour of the path.
| osmscout::PathTextStyle::PathTextStyle | ( | ) |
| osmscout::PathTextStyle::PathTextStyle | ( | const PathTextStyle & | style | ) |
| void osmscout::PathTextStyle::CopyAttributes | ( | const PathTextStyle & | other, |
| const std::set< Attribute > & | attributes | ||
| ) |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Reimplemented from osmscout::Style.
| PathTextStyle& osmscout::PathTextStyle::SetDisplayOffset | ( | double | value | ) |
|
overridevirtual |
Reimplemented from osmscout::Style.
| PathTextStyle& osmscout::PathTextStyle::SetLabel | ( | const LabelProviderRef & | label | ) |
|
overridevirtual |
Reimplemented from osmscout::Style.
| PathTextStyle& osmscout::PathTextStyle::SetOffset | ( | double | value | ) |
| PathTextStyle& osmscout::PathTextStyle::SetPriority | ( | size_t | value | ) |
| PathTextStyle& osmscout::PathTextStyle::SetSize | ( | double | size | ) |
| PathTextStyle& osmscout::PathTextStyle::SetTextColor | ( | const Color & | color | ) |
|
overridevirtual |
Reimplemented from osmscout::Style.
1.8.14