]> granicus.if.org Git - graphviz/commitdiff
add framework for an svg:cairo loadimage plugin using librsvg2
authorellson <devnull@localhost>
Fri, 28 Dec 2007 21:27:36 +0000 (21:27 +0000)
committerellson <devnull@localhost>
Fri, 28 Dec 2007 21:27:36 +0000 (21:27 +0000)
plugin/rsvg/gvplugin_rsvg.c [new file with mode: 0644]

diff --git a/plugin/rsvg/gvplugin_rsvg.c b/plugin/rsvg/gvplugin_rsvg.c
new file mode 100644 (file)
index 0000000..a41d8aa
--- /dev/null
@@ -0,0 +1,26 @@
+/* $Id$ $Revision$ */
+/* vim:set shiftwidth=4 ts=8: */
+
+/**********************************************************
+*      This software is part of the graphviz package      *
+*                http://www.graphviz.org/                 *
+*                                                         *
+*            Copyright (c) 1994-2004 AT&T Corp.           *
+*                and is licensed under the                *
+*            Common Public License, Version 1.0           *
+*                      by AT&T Corp.                      *
+*                                                         *
+*        Information and Software Systems Research        *
+*              AT&T Research, Florham Park NJ             *
+**********************************************************/
+
+#include "gvplugin.h"
+
+extern gvplugin_installed_t gvloadimage_rsvg_types;
+
+static gvplugin_api_t apis[] = {
+    {API_loadimage, &gvloadimage_rsvg_types},
+    {(api_t)0, 0},
+};
+
+gvplugin_library_t gvplugin_rsvg_LTX_library = { "rsvg", apis };