gimppaths_pdb.h 4.73 KB
Newer Older
1
/* LIBGIMP - The GIMP Library
2
 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
3 4 5
 *
 * gimppaths_pdb.h
 *
6
 * This library is free software: you can redistribute it and/or
7 8
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
9
 * version 3 of the License, or (at your option) any later version.
10 11 12 13 14 15 16
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
17 18
 * License along with this library.  If not, see
 * <http://www.gnu.org/licenses/>.
19 20
 */

21
/* NOTE: This file is auto-generated by pdbgen.pl */
22

23 24 25 26
#if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
#error "Only <libgimp/gimp.h> can be included directly."
#endif

27 28 29
#ifndef __GIMP_PATHS_PDB_H__
#define __GIMP_PATHS_PDB_H__

30
G_BEGIN_DECLS
31 32 33 34

/* For information look into the C source or the html documentation */


35
GIMP_DEPRECATED_FOR(gimp_image_get_vectors)
36
gchar**  gimp_path_list              (gint32           image_ID,
37
                                      gint            *num_paths);
38
GIMP_DEPRECATED_FOR(gimp_image_get_active_vectors)
39
gchar*   gimp_path_get_current       (gint32           image_ID);
40
GIMP_DEPRECATED_FOR(gimp_image_set_active_vectors)
41
gboolean gimp_path_set_current       (gint32           image_ID,
42
                                      const gchar     *name);
43
GIMP_DEPRECATED_FOR(gimp_image_remove_vectors)
44
gboolean gimp_path_delete            (gint32           image_ID,
45
                                      const gchar     *name);
46
GIMP_DEPRECATED_FOR(gimp_vectors_stroke_get_points)
47
gint     gimp_path_get_points        (gint32           image_ID,
48 49 50 51
                                      const gchar     *name,
                                      gint            *path_closed,
                                      gint            *num_path_point_details,
                                      gdouble        **points_pairs);
52
GIMP_DEPRECATED_FOR(gimp_vectors_stroke_new_from_points)
53
gboolean gimp_path_set_points        (gint32           image_ID,
54 55 56 57
                                      const gchar     *name,
                                      gint             ptype,
                                      gint             num_path_points,
                                      const gdouble   *points_pairs);
58
GIMP_DEPRECATED_FOR(gimp_edit_stroke_vectors)
59
gboolean gimp_path_stroke_current    (gint32           image_ID);
60
GIMP_DEPRECATED_FOR(gimp_vectors_stroke_get_point_at_dist)
61
gint     gimp_path_get_point_at_dist (gint32           image_ID,
62 63 64
                                      gdouble          distance,
                                      gint            *y_point,
                                      gdouble         *slope);
65
GIMP_DEPRECATED_FOR(gimp_vectors_get_tattoo)
66
gint     gimp_path_get_tattoo        (gint32           image_ID,
67
                                      const gchar     *name);
68
GIMP_DEPRECATED_FOR(gimp_vectors_set_tattoo)
69
gboolean gimp_path_set_tattoo        (gint32           image_ID,
70 71
                                      const gchar     *name,
                                      gint             tattovalue);
72
GIMP_DEPRECATED_FOR(gimp_image_get_vectors_by_tattoo)
73
gchar*   gimp_get_path_by_tattoo     (gint32           image_ID,
74
                                      gint             tattoo);
75
GIMP_DEPRECATED_FOR(gimp_vectors_get_linked)
76
gboolean gimp_path_get_locked        (gint32           image_ID,
77
                                      const gchar     *name);
78
GIMP_DEPRECATED_FOR(gimp_vectors_set_linked)
79
gboolean gimp_path_set_locked        (gint32           image_ID,
80 81
                                      const gchar     *name,
                                      gboolean         locked);
82
GIMP_DEPRECATED_FOR(gimp_vectors_to_selection)
83
gboolean gimp_path_to_selection      (gint32           image_ID,
84 85 86 87 88 89
                                      const gchar     *name,
                                      GimpChannelOps   op,
                                      gboolean         antialias,
                                      gboolean         feather,
                                      gdouble          feather_radius_x,
                                      gdouble          feather_radius_y);
90
GIMP_DEPRECATED_FOR(gimp_vectors_import_from_file)
91
gboolean gimp_path_import            (gint32           image_ID,
92 93 94
                                      const gchar     *filename,
                                      gboolean         merge,
                                      gboolean         scale);
95 96


97
G_END_DECLS
98 99

#endif /* __GIMP_PATHS_PDB_H__ */