![]() |
alaCarte Maps
Renderer for OpenStreetMap tiles
|
Stores bounding box and style of a label that needs to be placed. More...
#include <renderer_private.hpp>
Public Member Functions | |
| Label (const FloatRect &box, const FloatRect &owner, const MaybeCachedString &text, const Style *s, const FloatPoint &origin) | |
| void | translate (double dx, double dy) |
| used by the placement algorith to move the label More... | |
Public Attributes | |
| FloatRect | box |
| bounding box in device-space coordinates More... | |
| FloatRect | owner |
| bounding box of the object owing the label in device-space coordinates More... | |
| FloatPoint | origin |
| Origin of the label. More... | |
| const Style * | style |
| Style that is used to paint the label. More... | |
| const MaybeCachedString & | text |
| The text that should be used (don't use the style text to make it generic) More... | |
Stores bounding box and style of a label that needs to be placed.
Definition at line 61 of file renderer_private.hpp.
|
inline |
Definition at line 62 of file renderer_private.hpp.
|
inline |
used by the placement algorith to move the label
Definition at line 82 of file renderer_private.hpp.
| FloatRect Label::box |
bounding box in device-space coordinates
Definition at line 71 of file renderer_private.hpp.
| FloatPoint Label::origin |
Origin of the label.
Definition at line 75 of file renderer_private.hpp.
| FloatRect Label::owner |
bounding box of the object owing the label in device-space coordinates
Definition at line 73 of file renderer_private.hpp.
| const Style* Label::style |
Style that is used to paint the label.
Definition at line 77 of file renderer_private.hpp.
| const MaybeCachedString& Label::text |
The text that should be used (don't use the style text to make it generic)
Definition at line 79 of file renderer_private.hpp.