SVG Image Element. Represents an unpremultiplied bitmap. http://www.w3.org/TR/SVG/struct.html#ImageElement .


Public Member Functions

  • Image (const Node *parent, const XmlTree &xml)
  • const Rectf &
    getRect () const
  • const std::shared_ptr< Surface8u >
    getSurface () const

Protected Member Functions

  • renderSelf (Renderer &renderer) const
  • calcBoundingBox () const
  • bool
    isDrawable () const
  • startRender (Renderer &renderer, const Style &style) const
  • finishRender (Renderer &renderer, const Style &style) const
  • parseStyle (const std::string &value)
  • std::shared_ptr< Surface8u >
    parseDataImage (const std::string &data)
  • parsePaint (const char *value, bool *specified, const Node *parentNode)
  • mat3
    parseTransform (const std::string &value)
  • bool
    parseTransformComponent (const char **c, mat3 *result)
  • findStyleValue (const std::string &styleString, const std::string &key)

Protected Attributes

  • mRect
  • fs::path
    mFilePath
  • std::shared_ptr< Surface8u >
    mImage
  • const Node *
    mParent
  • mId
  • mStyle
  • bool
    mSpecifiesTransform
  • mat3
    mTransform
  • bool
    mBoundingBoxCached
  • mBoundingBox