rsvg-path-builder.h 1.53 KB
Newer Older
1 2
/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* vim: set sw=4 sts=4 expandtab: */
3
/*
4
   rsvg-path-builder.h: Hold SVG paths to replay them to a cairo_t later
5 6 7

   Copyright (C) 2000 Eazel, Inc.
   Copyright (C) 2002 Dom Lachowicz <cinamod@hotmail.com>
8
   Copyright (C) 2016 Federico Mena Quintero <federico@gnome.org>
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

   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.

25 26
   Authors: Raph Levien <raph@artofcode.com>
            Federico Mena Quintero <federico@gnome.org>
27
*/
28

29 30
#ifndef RSVG_PATH_BUILDER_H
#define RSVG_PATH_BUILDER_H
31

Christian Persch's avatar
Christian Persch committed
32 33
#include <glib.h>
#include <cairo.h>
34

35
G_BEGIN_DECLS
36

37 38 39
/* All the following functions and types are implemented in the Rust code.
 */

40
typedef struct _RsvgPathBuilder RsvgPathBuilder;
41

42 43 44
G_GNUC_INTERNAL
void rsvg_path_builder_add_to_cairo_context (RsvgPathBuilder *builder, cairo_t *cr);

45
G_END_DECLS
46

47
#endif /* RSVG_PATH_BUILDER_H */