- cinder::svg::Node
- cinder::svg::Rect
SVG Rect element: http://www.w3.org/TR/SVG/shapes.html#RectElement .
Show All |
Public Member Functions
-
Rect (Node *parent)
-
Rect (Node *parent, const XmlTree &xml)
-
const Rectf &getRect () const
-
voidsetRect (const Rectf &rect)
-
voidsetWidth (float width)
-
voidsetHeight (float height)
Protected Member Functions
-
voidrenderSelf (Renderer &renderer) const
-
calcBoundingBox () const
-
boolisDrawable () const
-
voidstartRender (Renderer &renderer, const Style &style) const
-
voidfinishRender (Renderer &renderer, const Style &style) 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
-
mRect
-
Node *mParent
-
std::stringmId
-
mStyle
-
boolmSpecifiesTransform
-
mat3mTransform
-
boolmBoundingBoxCached
-
mBoundingBox