doc: updated italian translations
[adg.git] / src / adg / adg-pattern.c
blob337ef18c3002419bc40b0675265bf8538812d105
1 /* ADG - Automatic Drawing Generation
2 * Copyright (C) 2007,2008,2009,2010,2011,2012 Nicola Fontana <ntd at entidi.it>
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
21 /**
22 * SECTION:adg-pattern
23 * @Section_Id:AdgPattern
24 * @title: AdgPattern
25 * @short_description: A wrapper for #cairo_pattern_t
27 * AdgPattern is a wrapper in #GType syntax of the #cairo_pattern_t struct.
29 * Since: 1.0
30 **/
32 /**
33 * AdgPattern:
35 * Another name for #cairo_pattern_t: check its documentation for the
36 * fields description and visibility details.
38 * Since: 1.0
39 **/
42 #include "adg-internal.h"
44 #include "adg-pattern.h"
47 GType
48 adg_pattern_get_type(void)
50 static GType pattern_type = 0;
52 if (G_UNLIKELY(pattern_type == 0))
53 pattern_type = g_boxed_type_register_static("AdgPattern",
54 (GBoxedCopyFunc) cairo_pattern_reference,
55 (GBoxedFreeFunc) cairo_pattern_destroy);
57 return pattern_type;