SVG tspan Element. Generally owned by a svg::Text Node . http://www.w3.org/TR/SVG/text.html#TSpanElement .
Show All |
Public Member Functions
-
TextSpan (Node *parent, const XmlTree &xml)
-
TextSpan (Node *parent, const std::string &spanString)
-
const std::string &getString () const
-
voidsetString (const std::string &s)
-
const std::shared_ptr< Font >getFont () const
-
vec2getTextPen () const
-
voidsetTextPen (const vec2 &textPen)
-
floatgetRotation () const
-
getLetterSpacing () const
-
std::vector< TextSpanRef > &getSpans ()
-
const std::vector< TextSpanRef > &getSpans () const
Protected Member Functions
-
voidrenderSelf (Renderer &renderer) const
-
boolisDrawable () const
-
voidstartRender (Renderer &renderer, const Style &style) const
-
voidfinishRender (Renderer &renderer, const Style &style) const
-
calcBoundingBox () const
-
voidparseStyle (const std::string &value)
-
parsePaint (const char *value, bool *specified, const Node *parentNode)
-
mat3parseTransform (const std::string &value)
-
boolparseTransformComponent (const char **c, mat3 *result)
-
std::stringfindStyleValue (const std::string &styleString, const std::string &key)
Protected Attributes
-
boolmIgnoreAttributes
-
mAttributes
-
std::stringmString
-
std::shared_ptr< Font >mFont
-
std::shared_ptr< std::vector< std::pair< uint16_t, vec2 > > >mGlyphMeasures
-
std::shared_ptr< Shape2d >mShape
-
std::vector< TextSpanRef >mSpans
-
Node *mParent
-
std::stringmId
-
mStyle
-
boolmSpecifiesTransform
-
mat3mTransform
-
boolmBoundingBoxCached
-
mBoundingBox