Base class for an element of an SVG Document.


Public Member Functions

  • Node (Node *parent)
  • ~Node ()

Protected Member Functions

  • Node (Node *parent, const XmlTree &xml)
  • bool
    isDrawable () const
  • void
    startRender (Renderer &renderer, const Style &style) const
  • void
    finishRender (Renderer &renderer, const Style &style) const
  • void
    renderSelf (Renderer &renderer) const =0
  • calcBoundingBox () const
  • void
    parseStyle (const std::string &value)
  • parsePaint (const char *value, bool *specified, const Node *parentNode)
  • mat3
    parseTransform (const std::string &value)
  • bool
    parseTransformComponent (const char **c, mat3 *result)
  • std::string
    findStyleValue (const std::string &styleString, const std::string &key)

Protected Attributes

  • mParent
  • std::string
    mId
  • mStyle
  • bool
    mSpecifiesTransform
  • mat3
    mTransform
  • bool
    mBoundingBoxCached
  • mBoundingBox

Friends