Base class for an element of an SVG Document.
Show All |
Public Member Functions
Protected Member Functions
-
Node (Node *parent, const XmlTree &xml)
-
boolisDrawable () const
-
voidstartRender (Renderer &renderer, const Style &style) const
-
voidfinishRender (Renderer &renderer, const Style &style) const
-
voidrenderSelf (Renderer &renderer) const =0
-
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
-
Node *mParent
-
std::stringmId
-
mStyle
-
boolmSpecifiesTransform
-
mat3mTransform
-
boolmBoundingBoxCached
-
mBoundingBox