|
|
Donner
C++20 SVG rendering library
|
Rendering controller, which instantiates and and manages the rendering tree. More...
#include "donner/svg/renderer/RenderingContext.h"
Public Member Functions | |
| RenderingContext (Registry ®istry) | |
| Constructor. | |
| void | instantiateRenderTree (bool verbose, std::vector< ParseError > *outWarnings) |
| Create the render tree for the document, optionally returning parse warnings found when parsing deferred parts of the tree. | |
| Entity | findIntersecting (const Vector2d &point) |
| Find the first entity that intersects the given point. | |
| void | invalidateRenderTree () |
| Invalidate the rendering tree, forcing it to be recreated on the next render. | |
Rendering controller, which instantiates and and manages the rendering tree.
Used during the rendering phase in combination with the rendering backend.
Find the first entity that intersects the given point.
| point | Point to find the intersecting entity for |
| void donner::svg::components::RenderingContext::instantiateRenderTree | ( | bool | verbose, |
| std::vector< ParseError > * | outWarnings ) |
Create the render tree for the document, optionally returning parse warnings found when parsing deferred parts of the tree.
| verbose | If true, enable verbose logging. |
| outWarnings | If non-null, warnings will be added to this vector. |