summaryrefslogtreecommitdiff
path: root/rsvg-marker.h
diff options
context:
space:
mode:
authorCaleb Michael Moore <cmoore@src.gnome.org>2005-02-11 13:38:17 +0000
committerCaleb Michael Moore <cmoore@src.gnome.org>2005-02-11 13:38:17 +0000
commit7072c08c2c0e054fef272927fcb0b62ce6c7108d (patch)
treef4e97f9fa75710e10450595465c51344119980ba /rsvg-marker.h
parenteaf07a88aab2f65bb217cf6a8aaeeaef81fdb6d8 (diff)
downloadlibrsvg-7072c08c2c0e054fef272927fcb0b62ce6c7108d.tar.gz
split the behemoth rsvg-shapes.c into bite size meaty chunks
Diffstat (limited to 'rsvg-marker.h')
-rw-r--r--rsvg-marker.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/rsvg-marker.h b/rsvg-marker.h
new file mode 100644
index 00000000..31c351bb
--- /dev/null
+++ b/rsvg-marker.h
@@ -0,0 +1,56 @@
+/* vim: set sw=4: -*- Mode: C; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
+/*
+ rsvg-marker.h: Marker loading and rendering
+
+ Copyright (C) 2004, 2005 Caleb Moore <c.moore@student.unsw.edu.au>
+
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 of the
+ License, or (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this program; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+ Authors: Caleb Moore <c.moore@student.unsw.edu.au>
+*/
+
+#ifndef RSVG_MARKER_H
+#define RSVG_MARKER_H
+
+#include "rsvg-structure.h"
+
+G_BEGIN_DECLS
+
+typedef struct _RsvgMarker RsvgMarker;
+
+struct _RsvgMarker {
+ RsvgDefVal super;
+ RsvgDefsDrawable * contents;
+ gboolean bbox;
+ double refX, refY, orient;
+ double vbx, vby, vbw, vbh, width, height;
+ gint preserve_aspect_ratio;
+ gboolean vbox, orientAuto, overflow;
+};
+
+void
+rsvg_start_marker (RsvgHandle *ctx, RsvgPropertyBag *atts);
+
+void
+rsvg_marker_render (RsvgMarker *self, gdouble x, gdouble y, gdouble orient, gdouble linewidth, RsvgDrawingCtx *ctx);
+
+RsvgDefVal *
+rsvg_marker_parse (const RsvgDefs * defs, const char *str);
+
+
+G_END_DECLS
+
+#endif /* RSVG_MARKER_H */