Public Member Functions

  • Path (Node *parent)
  • Path (Node *parent, const XmlTree &xml)
  • const Shape2d &
    getShape2d () const
  • void
    appendShape2d (Shape2d *appendTo) const
  • void
    setShape (const Shape2d &shape)

Protected Member Functions

  • void
    renderSelf (Renderer &renderer) const override
  • calcBoundingBox () const override
  • bool
    isDrawable () const
  • 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

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