|
libosmscout 0.1
|
Result of a text measurement: label dimensions and per-glyph bounding boxes, relative to the label origin and the glyph base point respectively. More...
#include <MapPainter.h>
Classes | |
| struct | Glyph |
Public Attributes | |
| std::vector< Glyph > | glyphs |
| One entry per character. | |
| double | height {0.0} |
| Label height in pixel. | |
| double | width {0.0} |
| Label width in pixel. | |
Result of a text measurement: label dimensions and per-glyph bounding boxes, relative to the label origin and the glyph base point respectively.
| std::vector<Glyph> osmscout::TextMetrics::glyphs |
One entry per character.
Referenced by osmscout::MapPainter::MeasureLabel().
| double osmscout::TextMetrics::height {0.0} |
Label height in pixel.
Referenced by osmscout::MapPainter::MeasureLabel().
| double osmscout::TextMetrics::width {0.0} |
Label width in pixel.
Referenced by osmscout::MapPainter::MeasureLabel().