76 void finish(
GeoObject* associatedObject, shared_ptr<const Stylesheet> stylesheet);
133 template<
typename Stream>
141 else if(expr ==
"center")
147 template<
typename Stream>
155 else if(expr ==
"square")
161 template<
typename Stream>
169 else if(expr ==
"miter")
171 else if(expr ==
"round")
177 template<
typename Stream>
183 if(expr ==
"rounded")
185 else if(expr ==
"rectangular")
191 template<
typename Stream>
199 else if(expr ==
"bold")
205 template<
typename Stream>
213 else if(expr ==
"italic")
MaybeCachedString shield_text
void finish(GeoObject *associatedObject, shared_ptr< const Stylesheet > stylesheet)
Performs finishing operations on the style, like resolve tags for texts or check for icon path existe...
float shield_casing_width
A StyleTemplate is the "raw" / "unevaluated" form of a Style specified by a single MapCSS rule...
TESTABLE void overmerge(GeoObject *obj, const shared_ptr< StyleTemplate > &style)
Takes all non-"null" (meaning only properties that were explicitely set) properties from the given St...
MaybeCachedString fill_image
Represents a string which could be cached into an internal cache.
MaybeCachedString font_family
A Stylesheet parses a given MapCSS Stylesheet file and stores the defined rules.
Color shield_casing_color
MaybeCachedString shield_image
A Style stores the MapCSS properties for a single Node or Way, or a Relation of type multipolygon...
std::vector< double > casing_dashes
MaybeCachedString icon_image
TextPosition text_position
std::vector< double > dashes
Stream & operator>>(Stream &stream, Style::TextPosition &position)