SVG Radial gradient.


Public Member Functions

  • RadialGradient (Node *parent, const XmlTree &xml)
  • asPaint () const
  • bool
    useObjectBoundingBox () const
  • bool
    specifiesTransform () const

Protected Member Functions

  • void
    parse (const XmlTree &xml)
  • bool
    isDrawable () const
  • void
    renderSelf (Renderer &) const
  • void
    parse (const Node *parent, const XmlTree &xml)
  • void
    copyAttributesFrom (const Gradient &rhs)
  • void
    startRender (Renderer &renderer, const Style &style) const
  • void
    finishRender (Renderer &renderer, const Style &style) const
  • calcBoundingBox () 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

  • float
    mRadius
  • std::vector< Stop >
    mStops
  • vec2
    mCoords0
  • vec2
    mCoords1
  • bool
    mUseObjectBoundingBox
  • bool
    mSpecifiesTransform
  • mat3
    mTransform
  • mParent
  • std::string
    mId
  • mStyle
  • bool
    mBoundingBoxCached
  • mBoundingBox