Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
UseReference.h File Reference

Internal helpers shared by donner::svg::SVGUseElement and the generic attribute write. More...

Include dependency graph for UseReference.h:

Namespaces

namespace  donner
 Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css.
namespace  donner::svg
 Donner SVG library, which can load, manipulate and render SVG files.

Functions

void donner::svg::InvalidateUseInstance (EntityHandle handle)
 Drop a <use> element's layout cache and instantiated shadow tree or external instance, and request a render tree rebuild.
void donner::svg::InvalidateUseGeometry (EntityHandle handle)
 Invalidate a <use> element after its x, y, width or height changed.
void donner::svg::RetargetUseFromAttributes (EntityHandle handle)
 Point a <use> at the reference its stored attributes resolve to, href taking precedence over xlink:href (an empty href still wins and means no reference), then invalidate its instance.

Detailed Description

Internal helpers shared by donner::svg::SVGUseElement and the generic attribute write.