SPH
Public Member Functions | List of all members
SvgPath Class Reference

#include <SvgContext.h>

Inheritance diagram for SvgPath:
IDrawPath Polymorphic

Public Member Functions

 SvgPath (wxSVGFileDC &dc, const AffineMatrix2 &matrix)
 
virtual void addPoint (const PlotPoint &point) override
 Adds a next point on the path. More...
 
virtual void closePath () override
 Closes the path, connecting to the first point on the path. More...
 
virtual void endPath () override
 Finalizes the path. Does not connect the last point to anything. More...
 
- Public Member Functions inherited from Polymorphic
virtual ~Polymorphic ()
 

Detailed Description

Definition at line 15 of file SvgContext.h.

Constructor & Destructor Documentation

◆ SvgPath()

SvgPath::SvgPath ( wxSVGFileDC &  dc,
const AffineMatrix2 matrix 
)
inline

Definition at line 24 of file SvgContext.h.

Member Function Documentation

◆ addPoint()

virtual void SvgPath::addPoint ( const PlotPoint point)
inlineoverridevirtual

Adds a next point on the path.

Implements IDrawPath.

Definition at line 28 of file SvgContext.h.

◆ closePath()

virtual void SvgPath::closePath ( )
inlineoverridevirtual

Closes the path, connecting to the first point on the path.

Implements IDrawPath.

Definition at line 39 of file SvgContext.h.

◆ endPath()

virtual void SvgPath::endPath ( )
inlineoverridevirtual

Finalizes the path. Does not connect the last point to anything.

Implements IDrawPath.

Definition at line 45 of file SvgContext.h.


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