Provides an interface for classes that implement the conversion of Vis::Path2D objects into rendering backend specific path descriptions or drawing operations.
More...
#include <Path2DConverter.hpp>
Provides an interface for classes that implement the conversion of Vis::Path2D objects into rendering backend specific path descriptions or drawing operations.
- See also
- Vis::Renderer2D
- Since
- 1.1
◆ ~Path2DConverter()
virtual CDPL::Vis::Path2DConverter::~Path2DConverter |
( |
| ) |
|
|
inlinevirtual |
◆ moveTo()
virtual void CDPL::Vis::Path2DConverter::moveTo |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
pure virtual |
Called when a Vis::Path2D element created by a Vis::Path2D::moveTo() call is encountered.
- Parameters
-
x | The x-coordinate of the newly set current position. |
y | The y-coordinate of the newly set current position. |
◆ arcTo()
Called when a Vis::Path2D element created by a Vis::Path2D::arcTo() call is encountered.
- Parameters
-
cx | The x-coordinate of the ellipse center. |
cy | The y-coordinate of the ellipse center. |
rx | The x-radius of the ellipse. |
ry | The y-radius of the ellipse. |
start_ang | The start angle of the arg in degrees. |
sweep | The length of the arg in degrees. |
◆ lineTo()
virtual void CDPL::Vis::Path2DConverter::lineTo |
( |
double |
x, |
|
|
double |
y |
|
) |
| |
|
pure virtual |
Called when a Vis::Path2D element created by a Vis::Path2D::lineTo() call is encountered.
- Parameters
-
x | Specifies the x-coordinate of the line's end point. |
y | Specifies the y-coordinate of the line's end point. |
◆ closePath()
virtual void CDPL::Vis::Path2DConverter::closePath |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: