Base class from which Renderers are derived. More...
#include <Svg.h>
Inherited by cinder::cairo::SvgRendererCairo, and cinder::SvgRendererGl.
Public Member Functions | |
Renderer () | |
virtual | ~Renderer () |
void | setVisitor (const RenderVisitor &visitor) |
virtual void | pushGroup (const Group &group, float opacity) |
virtual void | popGroup () |
virtual void | drawPath (const svg::Path &path) |
virtual void | drawPolyline (const svg::Polyline &polyline) |
virtual void | drawPolygon (const svg::Polygon &polygon) |
virtual void | drawLine (const svg::Line &line) |
virtual void | drawRect (const svg::Rect &rect) |
virtual void | drawCircle (const svg::Circle &circle) |
virtual void | drawEllipse (const svg::Ellipse &ellipse) |
virtual void | drawImage (const svg::Image &image) |
virtual void | drawTextSpan (const svg::TextSpan &span) |
virtual void | pushMatrix (const MatrixAffine2f &m) |
virtual void | popMatrix () |
virtual void | pushStyle (const svg::Style &style) |
virtual void | popStyle (const svg::Style &style) |
virtual void | pushFill (const class Paint &paint) |
virtual void | popFill () |
virtual void | pushStroke (const class Paint &paint) |
virtual void | popStroke () |
virtual void | pushFillOpacity (float opacity) |
virtual void | popFillOpacity () |
virtual void | pushStrokeOpacity (float opacity) |
virtual void | popStrokeOpacity () |
virtual void | pushStrokeWidth (float width) |
virtual void | popStrokeWidth () |
virtual void | pushFillRule (FillRule rule) |
virtual void | popFillRule () |
virtual void | pushLineCap (LineCap lineCap) |
virtual void | popLineCap () |
virtual void | pushLineJoin (LineJoin lineJoin) |
virtual void | popLineJoin () |
virtual void | pushTextPen (const Vec2f &penPos) |
virtual void | popTextPen () |
virtual void | pushTextRotation (float rotation) |
virtual void | popTextRotation () |
bool | visit (const Node &node, svg::Style *style) const |
Protected Attributes | |
RenderVisitor | mVisitor |
Friends | |
class | svg::Node |
Base class from which Renderers are derived.
virtual cinder::svg::Renderer::~Renderer | ( | ) | [virtual] |
void cinder::svg::Renderer::setVisitor | ( | const RenderVisitor & | visitor | ) |
virtual void cinder::svg::Renderer::pushGroup | ( | const Group & | group, |
float | opacity | ||
) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::popGroup | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawPath | ( | const svg::Path & | path | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawPolyline | ( | const svg::Polyline & | polyline | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawPolygon | ( | const svg::Polygon & | polygon | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawLine | ( | const svg::Line & | line | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawRect | ( | const svg::Rect & | rect | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawCircle | ( | const svg::Circle & | circle | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawEllipse | ( | const svg::Ellipse & | ellipse | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::drawImage | ( | const svg::Image & | image | ) | [virtual] |
virtual void cinder::svg::Renderer::drawTextSpan | ( | const svg::TextSpan & | span | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushMatrix | ( | const MatrixAffine2f & | m | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::popMatrix | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushStyle | ( | const svg::Style & | style | ) | [virtual] |
virtual void cinder::svg::Renderer::popStyle | ( | const svg::Style & | style | ) | [virtual] |
virtual void cinder::svg::Renderer::pushFill | ( | const class Paint & | paint | ) | [virtual] |
virtual void cinder::svg::Renderer::popFill | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushStroke | ( | const class Paint & | paint | ) | [virtual] |
virtual void cinder::svg::Renderer::popStroke | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushFillOpacity | ( | float | opacity | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::popFillOpacity | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushStrokeOpacity | ( | float | opacity | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::popStrokeOpacity | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushStrokeWidth | ( | float | width | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::popStrokeWidth | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushFillRule | ( | FillRule | rule | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::popFillRule | ( | ) | [virtual] |
Reimplemented in cinder::SvgRendererGl.
virtual void cinder::svg::Renderer::pushLineCap | ( | LineCap | lineCap | ) | [virtual] |
virtual void cinder::svg::Renderer::popLineCap | ( | ) | [virtual] |
virtual void cinder::svg::Renderer::pushLineJoin | ( | LineJoin | lineJoin | ) | [virtual] |
virtual void cinder::svg::Renderer::popLineJoin | ( | ) | [virtual] |
virtual void cinder::svg::Renderer::pushTextPen | ( | const Vec2f & | penPos | ) | [virtual] |
virtual void cinder::svg::Renderer::popTextPen | ( | ) | [virtual] |
virtual void cinder::svg::Renderer::pushTextRotation | ( | float | rotation | ) | [virtual] |
virtual void cinder::svg::Renderer::popTextRotation | ( | ) | [virtual] |
bool cinder::svg::Renderer::visit | ( | const Node & | node, |
svg::Style * | style | ||
) | const |
friend class svg::Node [friend] |
RenderVisitor cinder::svg::Renderer::mVisitor [protected] |