|
|
Donner
C++20 SVG rendering library
|
Stores a PathSpline used for rendering a shape, which may be generated from the parameters of shapes such as circle, rect, line, poly, and path. More...
#include "donner/svg/components/shape/ComputedPathComponent.h"
Public Member Functions | |
| Boxd | transformedBounds (const Transformd &pathFromTarget) |
| Returns the tight bounds of the shape, transformed to the target coordinate system. | |
Public Attributes | |
| PathSpline | spline |
| PathSpline used for rendering the shape. | |
Stores a PathSpline used for rendering a shape, which may be generated from the parameters of shapes such as circle, rect, line, poly, and path.
All shapes create computed paths, and these paths can be rendered using a unified rendering pipeline.
|
inline |
Returns the tight bounds of the shape, transformed to the target coordinate system.
| pathFromTarget | Transform to transform the path to the target coordinate system. |