rsvg-defs.h 1.51 KB
Newer Older
1 2
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set sw=4 sts=4 expandtab: */
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
/*
   rsvg-defs.h : SVG defs utilities

   Copyright (C) 2000 Eazel, Inc.
   Copyright (C) 2002 Dom Lachowicz <cinamod@hotmail.com>

   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.

   Author: Raph Levien <raph@artofcode.com>
*/
26 27 28 29

#ifndef RSVG_DEFS_H
#define RSVG_DEFS_H

30 31
/* A module for handling SVG defs */

32
#include <glib.h>
33

34
#include "rsvg.h"
35
#include "rsvg-private.h"
36

37 38
G_BEGIN_DECLS 

39
G_GNUC_INTERNAL
40
RsvgDefs    *rsvg_defs_new		(RsvgHandle *handle);
41
/* for some reason this one's public... */
42
RsvgNode    *rsvg_defs_lookup		(const RsvgDefs * defs, const char *name);
43
G_GNUC_INTERNAL
44
void	     rsvg_defs_free		(RsvgDefs * defs);
45
G_GNUC_INTERNAL
46
void	     rsvg_defs_register_node_by_id (RsvgDefs *defs, const char *id, RsvgNode *node);
Caleb Michael Moore's avatar
Caleb Michael Moore committed
47

48 49
G_END_DECLS
#endif