Public Member Functions | Public Attributes | Protected Attributes | Friends
cinder::SvgRendererGl Class Reference

#include <SvgGl.h>

Inherits cinder::svg::Renderer.

List of all members.

Public Member Functions

 SvgRendererGl ()
 ~SvgRendererGl ()
void pushGroup (const svg::Group &group, float opacity)
void drawPath (const svg::Path &path)
void drawPolygon (const svg::Polygon &polygon)
void drawPolyline (const svg::Polyline &polyline)
void drawLine (const svg::Line &line)
void drawRect (const svg::Rect &rect)
void drawCircle (const svg::Circle &circle)
void drawEllipse (const svg::Ellipse &ellipse)
void drawImage (const Surface8u &surface, const Rectf &drawRect)
void drawTextSpan (const svg::TextSpan &span)
void popGroup ()
void pushMatrix (const MatrixAffine2f &m)
void popMatrix ()
void pushFill (const svg::Paint &paint)
void popFill ()
void pushStroke (const svg::Paint &paint)
void popStroke ()
void pushFillOpacity (float opacity)
void popFillOpacity ()
void pushStrokeOpacity (float opacity)
void popStrokeOpacity ()
ColorA getCurFillColor ()
ColorA getCurStrokeColor ()
void pushStrokeWidth (float width)
void popStrokeWidth ()
void pushFillRule (svg::FillRule rule)
void popFillRule ()
void setVisitor (const RenderVisitor &visitor)
virtual void drawImage (const svg::Image &image)
virtual void pushStyle (const svg::Style &style)
virtual void popStyle (const svg::Style &style)
virtual void pushFill (const class Paint &paint)
virtual void pushStroke (const class Paint &paint)
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

Public Attributes

std::vector< svg::PaintmFillStack
std::vector< svg::PaintmStrokeStack
std::vector< float > mFillOpacityStack
std::vector< float > mStrokeOpacityStack
std::vector< float > mStrokeWidthStack
std::vector< svg::FillRulemFillRuleStack

Protected Attributes

RenderVisitor mVisitor

Friends

class svg::Node

Constructor & Destructor Documentation


Member Function Documentation

void cinder::SvgRendererGl::pushGroup ( const svg::Group group,
float  opacity 
) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawPath ( const svg::Path path) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawPolygon ( const svg::Polygon polygon) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawPolyline ( const svg::Polyline polyline) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawLine ( const svg::Line line) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawRect ( const svg::Rect rect) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawCircle ( const svg::Circle circle) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawEllipse ( const svg::Ellipse ellipse) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::drawImage ( const Surface8u surface,
const Rectf drawRect 
)
void cinder::SvgRendererGl::drawTextSpan ( const svg::TextSpan span) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::popGroup ( ) [virtual]

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::pushMatrix ( const MatrixAffine2f m) [virtual]

Reimplemented from cinder::svg::Renderer.

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::popFill ( ) [virtual]

Reimplemented from cinder::svg::Renderer.

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::pushFillOpacity ( float  opacity) [virtual]

Reimplemented from cinder::svg::Renderer.

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::pushStrokeOpacity ( float  opacity) [virtual]

Reimplemented from cinder::svg::Renderer.

Reimplemented from cinder::svg::Renderer.

void cinder::SvgRendererGl::pushStrokeWidth ( float  width) [virtual]

Reimplemented from cinder::svg::Renderer.

Reimplemented from cinder::svg::Renderer.

Reimplemented from cinder::svg::Renderer.

Reimplemented from cinder::svg::Renderer.

void cinder::svg::Renderer::setVisitor ( const RenderVisitor visitor) [inherited]
virtual void cinder::svg::Renderer::drawImage ( const svg::Image image) [virtual, inherited]
virtual void cinder::svg::Renderer::pushStyle ( const svg::Style style) [virtual, inherited]
virtual void cinder::svg::Renderer::popStyle ( const svg::Style style) [virtual, inherited]
virtual void cinder::svg::Renderer::pushFill ( const class Paint paint) [virtual, inherited]
virtual void cinder::svg::Renderer::pushStroke ( const class Paint paint) [virtual, inherited]
virtual void cinder::svg::Renderer::pushLineCap ( LineCap  lineCap) [virtual, inherited]
virtual void cinder::svg::Renderer::popLineCap ( ) [virtual, inherited]
virtual void cinder::svg::Renderer::pushLineJoin ( LineJoin  lineJoin) [virtual, inherited]
virtual void cinder::svg::Renderer::popLineJoin ( ) [virtual, inherited]
virtual void cinder::svg::Renderer::pushTextPen ( const Vec2f penPos) [virtual, inherited]
virtual void cinder::svg::Renderer::popTextPen ( ) [virtual, inherited]
virtual void cinder::svg::Renderer::pushTextRotation ( float  rotation) [virtual, inherited]
virtual void cinder::svg::Renderer::popTextRotation ( ) [virtual, inherited]
bool cinder::svg::Renderer::visit ( const Node node,
svg::Style style 
) const [inherited]

Friends And Related Function Documentation

friend class svg::Node [friend, inherited]

Member Data Documentation

RenderVisitor cinder::svg::Renderer::mVisitor [protected, inherited]

The documentation for this class was generated from the following file: