TextSpan /

#includecinder/svg/Svg.h

Public Member Functions

  • TextSpan (const Node *parent, const XmlTree &xml)
  • TextSpan (const Node *parent, const std::string &spanString)
  • const std::string &
    getString () const
  • const std::shared_ptr< Font >
    getFont () const
  • vec2
    getTextPen () const
  • float
    getRotation () const

Protected Member Functions

  • renderSelf (Renderer &renderer) const
  • bool
    isDrawable () const
  • startRender (Renderer &renderer, const Style &style) const
  • finishRender (Renderer &renderer, const Style &style) const
  • calcBoundingBox () const
  • 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)
  • findStyleValue (const std::string &styleString, const std::string &key)

Protected Attributes

  • bool
    mIgnoreAttributes
  • mAttributes
  • mString
  • std::shared_ptr< Font >
    mFont
  • std::shared_ptr< std::vector< std::pair< uint16_t, vec2 > > >
    mGlyphMeasures
  • std::shared_ptr< Shape2d >
    mShape
  • std::vector< TextSpanRef >
    mSpans
  • const Node *
    mParent
  • mId
  • mStyle
  • bool
    mSpecifiesTransform
  • mat3
    mTransform
  • bool
    mBoundingBoxCached
  • mBoundingBox

Friends