Represents a group of SVG elements. http://www.w3.org/TR/SVG/struct.html#Groups .


Public Member Functions

  • Group (Node *parent)
  • Group (Node *parent, const XmlTree &xml)
  • ~Group ()

Protected Member Functions

  • nodeUnderPoint (const vec2 &absolutePoint, const mat3 &parentInverseMatrix) const
  • getMergedShape2d () const
  • void
    renderSelf (Renderer &renderer) const
  • calcBoundingBox () const
  • bool
    isDrawable () const
  • void
    parse (const XmlTree &xml)
  • void
    startRender (Renderer &renderer, const Style &style) const
  • void
    finishRender (Renderer &renderer, const Style &style) 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

  • std::list< Node * >
    mChildren
  • std::shared_ptr< Group >
    mDefs
  • mParent
  • std::string
    mId
  • mStyle
  • bool
    mSpecifiesTransform
  • mat3
    mTransform
  • bool
    mBoundingBoxCached
  • mBoundingBox