fix build for --disable-gtk-doc
[swfdec.git] / swfdec / swfdec_shape_parser.h
blob75e3ee5f8010983a54743fb3cdaf9c266b1ed0ed
1 /* Swfdec
2 * Copyright (C) 2003-2006 David Schleef <ds@schleef.org>
3 * 2005-2006 Eric Anholt <eric@anholt.net>
4 * 2006-2007 Benjamin Otte <otte@gnome.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
19 * Boston, MA 02110-1301 USA
22 #ifndef _SWFDEC_SHAPE_PARSER_H_
23 #define _SWFDEC_SHAPE_PARSER_H_
25 #include <swfdec/swfdec_bits.h>
26 #include <swfdec/swfdec_draw.h>
28 G_BEGIN_DECLS
31 typedef struct _SwfdecShapeParser SwfdecShapeParser;
32 typedef SwfdecDraw * (* SwfdecParseDrawFunc) (SwfdecBits *bits, gpointer *data);
34 SwfdecShapeParser * swfdec_shape_parser_new (SwfdecParseDrawFunc parse_fill,
35 SwfdecParseDrawFunc parse_line,
36 gpointer data);
37 GSList * swfdec_shape_parser_reset (SwfdecShapeParser * parser);
38 GSList * swfdec_shape_parser_free (SwfdecShapeParser * parser);
40 void swfdec_shape_parser_parse (SwfdecShapeParser * parser,
41 SwfdecBits * bits);
42 void swfdec_shape_parser_parse_morph (SwfdecShapeParser * parser,
43 SwfdecBits * bits1,
44 SwfdecBits * bits2);
47 G_END_DECLS
48 #endif