[BZ#568226] Provide query operations on the dom for interactive UIs
Submitted by Sven Herzberg
Link to original bug (#568226)
Description
To be able to load parts from a user interface from an SVG item (similar to macslow's cairo-clock) and to provide interactive feedback (or click/drag), one needs to know the exposed area of a part of an SVG file.
Rendering the part with cairo already works nicely with rsvg_handle_render_cairo_sub(); but for hit-detection something like rsvg_handle_get_sub_extents(RsvgHandle*,char const*,RsvgExtents*) with
typedef struct { gint x, y, width, height; } RsvgExtents;
would be required (where the char const* parameter would be the same as for render_cairo_sub().