|
|
Donner
C++20 SVG rendering library
|
Allows querying and controlling the Donner scene, beyond what the DOM provides. More...
#include "donner/svg/DonnerController.h"
Public Member Functions | |
| DonnerController (SVGDocument document) | |
| Constructor to create the controller from a given SVGDocument. | |
| std::optional< SVGGeometryElement > | findIntersecting (const Vector2d &point) |
| Finds the first element that intersects the given point. | |
Allows querying and controlling the Donner scene, beyond what the DOM provides.
|
explicit |
Constructor to create the controller from a given SVGDocument.
Allows querying and controlling the SVG contents beyond what the DOM provides.
| std::optional< SVGGeometryElement > donner::svg::DonnerController::findIntersecting | ( | const Vector2d & | point | ) |
Finds the first element that intersects the given point.
| point | Pointer position to find the intersecting element for |