Public Member Functions

  • Rect (Node *parent)
  • Rect (Node *parent, const XmlTree &xml)
  • const Rectf &
    getRect () const
  • void
    setRect (const Rectf &rect)
  • void
    setWidth (float width)
  • void
    setHeight (float height)

Protected Member Functions

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

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