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

#include <GraphicsContext.h>

Inheritance diagram for GraphicsPath:
IDrawPath Polymorphic

Public Member Functions

 GraphicsPath (const SharedPtr< wxGraphicsContext > &gc, const wxGraphicsMatrix &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 17 of file GraphicsContext.h.

Constructor & Destructor Documentation

◆ GraphicsPath()

GraphicsPath::GraphicsPath ( const SharedPtr< wxGraphicsContext > &  gc,
const wxGraphicsMatrix &  matrix 
)
inlineexplicit

Definition at line 25 of file GraphicsContext.h.

Member Function Documentation

◆ addPoint()

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

Adds a next point on the path.

Implements IDrawPath.

Definition at line 32 of file GraphicsContext.h.

◆ closePath()

virtual void GraphicsPath::closePath ( )
inlineoverridevirtual

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

Implements IDrawPath.

Definition at line 43 of file GraphicsContext.h.

◆ endPath()

virtual void GraphicsPath::endPath ( )
inlineoverridevirtual

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

Implements IDrawPath.

Definition at line 48 of file GraphicsContext.h.


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