SvgRendererGl /

#includecinder/svg/SvgGl.h

Public Member Functions

  • SvgRendererGl ()
  • ~SvgRendererGl ()
  • pushGroup (const svg::Group &group, float opacity)
  • drawPath (const svg::Path &path) override
  • drawPolygon (const svg::Polygon &polygon) override
  • drawPolyline (const svg::Polyline &polyline) override
  • drawLine (const svg::Line &line) override
  • drawRect (const svg::Rect &rect) override
  • drawCircle (const svg::Circle &circle) override
  • drawEllipse (const svg::Ellipse &ellipse) override
  • drawImage (const Surface8u &surface, const Rectf &drawRect)
  • drawTextSpan (const svg::TextSpan &span) override
  • popGroup () override
  • pushMatrix (const mat3 &m) override
  • popMatrix () override
  • pushFill (const svg::Paint &paint) override
  • popFill () override
  • pushStroke (const svg::Paint &paint) override
  • popStroke () override
  • pushFillOpacity (float opacity) override
  • popFillOpacity () override
  • pushStrokeOpacity (float opacity) override
  • popStrokeOpacity () override
  • getCurFillColor ()
  • getCurStrokeColor ()
  • pushStrokeWidth (float width) override
  • popStrokeWidth () override
  • pushFillRule (svg::FillRule rule) override
  • popFillRule () override
  • setVisitor (const std::function< bool(const Node &, svg::Style *)> &visitor)
  • drawImage (const svg::Image &)
  • pushStyle (const svg::Style &)
  • popStyle ()
  • pushFill (const class Paint &)
  • pushStroke (const class Paint &)
  • pushLineCap (LineCap)
  • popLineCap ()
  • pushLineJoin (LineJoin)
  • popLineJoin ()
  • pushTextPen (const vec2 &)
  • popTextPen ()
  • pushTextRotation (float)
  • popTextRotation ()
  • bool
    visit (const Node &node, svg::Style *style) const

Protected Attributes

  • std::shared_ptr< std::function< bool(const Node &, svg::Style *)> >
    mVisitor