|
libosmscout 0.1
|
Position independent representation of layouted label. More...
#include <LabelLayouter.h>
Public Member Functions | |
| Label ()=default | |
| template<typename... Args> | |
| Label (Args &&... args) | |
| std::vector< Glyph< NativeGlyph > > | ToGlyphs () const |
| Implementation have to be provided by backend. | |
Public Attributes | |
| double | fontSize {1} |
| Font size to be used. | |
| double | height {-1} |
| NativeLabel | label |
| std::string | text |
| The label text. | |
| double | width {-1} |
Position independent representation of layouted label.
|
default |
|
inlineexplicit |
| std::vector< Glyph< MapPainterSVG::NativeGlyph > > osmscout::MapPainterSVG::SvgLabel::ToGlyphs | ( | ) | const |
Implementation have to be provided by backend.
Glyph positions should be relative to label baseline.
References osmscout::Glyph< NativeGlyph >::glyph, and osmscout::Label< NativeGlyph, NativeLabel >::label.
| double osmscout::Label< NativeGlyph, NativeLabel >::fontSize {1} |
Font size to be used.
| double osmscout::Label< NativeGlyph, NativeLabel >::height {-1} |
| NativeLabel osmscout::Label< NativeGlyph, NativeLabel >::label |
Referenced by osmscout::Label< NativeGlyph, NativeLabel >::ToGlyphs().
| std::string osmscout::Label< NativeGlyph, NativeLabel >::text |
The label text.
| double osmscout::Label< NativeGlyph, NativeLabel >::width {-1} |