diff options
author | Benjamin Otte <otte@redhat.com> | 2015-10-07 12:13:21 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2015-10-22 12:56:13 +0200 |
commit | 6df53732f8ecfdc99b705b7e9a94442c267145f0 (patch) | |
tree | fe569b7d91601145cfcd0a5050389b3d94943797 /rsvg-marker.h | |
parent | 9fc56102ca1861e3868fd6dcbcc3cc0f3c240f3e (diff) | |
download | librsvg-6df53732f8ecfdc99b705b7e9a94442c267145f0.tar.gz |
marker: Resolve lazily
And that concludes our rework of reference cylce detection. All code
that references other objects via IRIs will now call rsvg_acquire_node()
which itself avoids giving out the same node a second time until
rsvg_release_node() has been called.
This also means that rsvg_defs_lookup() is only used in two places now:
(1) by rsvg_acquire_node()
(2) by public API that allows operating on objects by id.
Diffstat (limited to 'rsvg-marker.h')
-rw-r--r-- | rsvg-marker.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/rsvg-marker.h b/rsvg-marker.h index 0e4081e2..e4e6726a 100644 --- a/rsvg-marker.h +++ b/rsvg-marker.h @@ -45,11 +45,6 @@ struct _RsvgMarker { G_GNUC_INTERNAL RsvgNode *rsvg_new_marker (void); G_GNUC_INTERNAL -void rsvg_marker_render (RsvgMarker * self, gdouble xpos, gdouble ypos, - gdouble orient, gdouble linewidth, RsvgDrawingCtx * ctx); -G_GNUC_INTERNAL -RsvgNode *rsvg_marker_parse (const RsvgDefs * defs, const char *str); -G_GNUC_INTERNAL void rsvg_render_markers (RsvgDrawingCtx *ctx, const cairo_path_t *path); G_END_DECLS |