Base class from which Renderers are derived.
Show All |
Public Member Functions
-
~Renderer ()=default
-
voidsetVisitor (const std::function< bool(const Node &, svg::Style *)> &visitor)
-
voidpushGroup (const Group &, float)
-
voidpopGroup ()
-
voiddrawPath (const svg::Path &)
-
voiddrawPolyline (const svg::Polyline &)
-
voiddrawPolygon (const svg::Polygon &)
-
voiddrawLine (const svg::Line &)
-
voiddrawRect (const svg::Rect &)
-
voiddrawCircle (const svg::Circle &)
-
voiddrawEllipse (const svg::Ellipse &)
-
voiddrawImage (const svg::Image &)
-
voiddrawTextSpan (const svg::TextSpan &)
-
voidpushMatrix (const mat3 &)
-
voidpopMatrix ()
-
voidpushStyle (const svg::Style &)
-
voidpopStyle ()
-
voidpushFill (const class Paint &)
-
voidpopFill ()
-
voidpushStroke (const class Paint &)
-
voidpopStroke ()
-
voidpushFillOpacity (float)
-
voidpopFillOpacity ()
-
voidpushStrokeOpacity (float)
-
voidpopStrokeOpacity ()
-
voidpushStrokeWidth (float)
-
voidpopStrokeWidth ()
-
voidpushFillRule (FillRule)
-
voidpopFillRule ()
-
voidpushLineCap (LineCap)
-
voidpopLineCap ()
-
voidpushLineJoin (LineJoin)
-
voidpopLineJoin ()
-
voidpushTextPen (const vec2 &)
-
voidpopTextPen ()
-
voidpushTextRotation (float)
-
voidpopTextRotation ()
-
boolvisit (const Node &node, svg::Style *style) const
Protected Attributes
-
std::shared_ptr< std::function< bool(const Node &, svg::Style *)> >mVisitor