gimpcontext_pdb.h 10.6 KB
Newer Older
1
2
3
4
5
/* LIBGIMP - The GIMP Library
 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
 *
 * gimpcontext_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
30
31
32
33
34
#ifndef __GIMP_CONTEXT_PDB_H__
#define __GIMP_CONTEXT_PDB_H__

G_BEGIN_DECLS

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


35
36
37
38
39
40
41
gboolean               gimp_context_push                       (void);
gboolean               gimp_context_pop                        (void);
gboolean               gimp_context_set_defaults               (void);
gboolean               gimp_context_list_paint_methods         (gint                     *num_paint_methods,
                                                                gchar                  ***paint_methods);
gchar*                 gimp_context_get_paint_method           (void);
gboolean               gimp_context_set_paint_method           (const gchar              *name);
42
43
GimpStrokeMethod       gimp_context_get_stroke_method          (void);
gboolean               gimp_context_set_stroke_method          (GimpStrokeMethod          stroke_method);
44
45
46
47
48
49
50
51
gboolean               gimp_context_get_foreground             (GimpRGB                  *foreground);
gboolean               gimp_context_set_foreground             (const GimpRGB            *foreground);
gboolean               gimp_context_get_background             (GimpRGB                  *background);
gboolean               gimp_context_set_background             (const GimpRGB            *background);
gboolean               gimp_context_set_default_colors         (void);
gboolean               gimp_context_swap_colors                (void);
gdouble                gimp_context_get_opacity                (void);
gboolean               gimp_context_set_opacity                (gdouble                   opacity);
52
53
GimpLayerMode          gimp_context_get_paint_mode             (void);
gboolean               gimp_context_set_paint_mode             (GimpLayerMode             paint_mode);
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
gdouble                gimp_context_get_line_width             (void);
gboolean               gimp_context_set_line_width             (gdouble                   line_width);
GimpUnit               gimp_context_get_line_width_unit        (void);
gboolean               gimp_context_set_line_width_unit        (GimpUnit                  line_width_unit);
GimpCapStyle           gimp_context_get_line_cap_style         (void);
gboolean               gimp_context_set_line_cap_style         (GimpCapStyle              cap_style);
GimpJoinStyle          gimp_context_get_line_join_style        (void);
gboolean               gimp_context_set_line_join_style        (GimpJoinStyle             join_style);
gdouble                gimp_context_get_line_miter_limit       (void);
gboolean               gimp_context_set_line_miter_limit       (gdouble                   miter_limit);
gdouble                gimp_context_get_line_dash_offset       (void);
gboolean               gimp_context_set_line_dash_offset       (gdouble                   dash_offset);
gboolean               gimp_context_get_line_dash_pattern      (gint                     *num_dashes,
                                                                gdouble                 **dashes);
gboolean               gimp_context_set_line_dash_pattern      (gint                      num_dashes,
                                                                const gdouble            *dashes);
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
gchar*                 gimp_context_get_brush                  (void);
gboolean               gimp_context_set_brush                  (const gchar              *name);
gdouble                gimp_context_get_brush_size             (void);
gboolean               gimp_context_set_brush_size             (gdouble                   size);
gboolean               gimp_context_set_brush_default_size     (void);
gdouble                gimp_context_get_brush_aspect_ratio     (void);
gboolean               gimp_context_set_brush_aspect_ratio     (gdouble                   aspect);
gdouble                gimp_context_get_brush_angle            (void);
gboolean               gimp_context_set_brush_angle            (gdouble                   angle);
gdouble                gimp_context_get_brush_spacing          (void);
gboolean               gimp_context_set_brush_spacing          (gdouble                   spacing);
gboolean               gimp_context_set_brush_default_spacing  (void);
gdouble                gimp_context_get_brush_hardness         (void);
gboolean               gimp_context_set_brush_hardness         (gdouble                   hardness);
gboolean               gimp_context_set_brush_default_hardness (void);
gdouble                gimp_context_get_brush_force            (void);
gboolean               gimp_context_set_brush_force            (gdouble                   force);
gchar*                 gimp_context_get_dynamics               (void);
gboolean               gimp_context_set_dynamics               (const gchar              *name);
89
90
gchar*                 gimp_context_get_mypaint_brush          (void);
gboolean               gimp_context_set_mypaint_brush          (const gchar              *name);
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
gchar*                 gimp_context_get_pattern                (void);
gboolean               gimp_context_set_pattern                (const gchar              *name);
gchar*                 gimp_context_get_gradient               (void);
gboolean               gimp_context_set_gradient               (const gchar              *name);
gchar*                 gimp_context_get_palette                (void);
gboolean               gimp_context_set_palette                (const gchar              *name);
gchar*                 gimp_context_get_font                   (void);
gboolean               gimp_context_set_font                   (const gchar              *name);
gboolean               gimp_context_get_antialias              (void);
gboolean               gimp_context_set_antialias              (gboolean                  antialias);
gboolean               gimp_context_get_feather                (void);
gboolean               gimp_context_set_feather                (gboolean                  feather);
gboolean               gimp_context_get_feather_radius         (gdouble                  *feather_radius_x,
                                                                gdouble                  *feather_radius_y);
gboolean               gimp_context_set_feather_radius         (gdouble                   feather_radius_x,
                                                                gdouble                   feather_radius_y);
gboolean               gimp_context_get_sample_merged          (void);
gboolean               gimp_context_set_sample_merged          (gboolean                  sample_merged);
GimpSelectCriterion    gimp_context_get_sample_criterion       (void);
gboolean               gimp_context_set_sample_criterion       (GimpSelectCriterion       sample_criterion);
gdouble                gimp_context_get_sample_threshold       (void);
gboolean               gimp_context_set_sample_threshold       (gdouble                   sample_threshold);
gint                   gimp_context_get_sample_threshold_int   (void);
gboolean               gimp_context_set_sample_threshold_int   (gint                      sample_threshold);
gboolean               gimp_context_get_sample_transparent     (void);
gboolean               gimp_context_set_sample_transparent     (gboolean                  sample_transparent);
117
118
gboolean               gimp_context_get_diagonal_neighbors     (void);
gboolean               gimp_context_set_diagonal_neighbors     (gboolean                  diagonal_neighbors);
119
120
121
122
123
124
GimpInterpolationType  gimp_context_get_interpolation          (void);
gboolean               gimp_context_set_interpolation          (GimpInterpolationType     interpolation);
GimpTransformDirection gimp_context_get_transform_direction    (void);
gboolean               gimp_context_set_transform_direction    (GimpTransformDirection    transform_direction);
GimpTransformResize    gimp_context_get_transform_resize       (void);
gboolean               gimp_context_set_transform_resize       (GimpTransformResize       transform_resize);
125
GIMP_DEPRECATED
126
gint                   gimp_context_get_transform_recursion    (void);
127
GIMP_DEPRECATED
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
gboolean               gimp_context_set_transform_recursion    (gint                      transform_recursion);
gdouble                gimp_context_get_ink_size               (void);
gboolean               gimp_context_set_ink_size               (gdouble                   size);
gdouble                gimp_context_get_ink_angle              (void);
gboolean               gimp_context_set_ink_angle              (gdouble                   angle);
gdouble                gimp_context_get_ink_size_sensitivity   (void);
gboolean               gimp_context_set_ink_size_sensitivity   (gdouble                   size);
gdouble                gimp_context_get_ink_tilt_sensitivity   (void);
gboolean               gimp_context_set_ink_tilt_sensitivity   (gdouble                   tilt);
gdouble                gimp_context_get_ink_speed_sensitivity  (void);
gboolean               gimp_context_set_ink_speed_sensitivity  (gdouble                   speed);
GimpInkBlobType        gimp_context_get_ink_blob_type          (void);
gboolean               gimp_context_set_ink_blob_type          (GimpInkBlobType           type);
gdouble                gimp_context_get_ink_blob_aspect_ratio  (void);
gboolean               gimp_context_set_ink_blob_aspect_ratio  (gdouble                   aspect);
gdouble                gimp_context_get_ink_blob_angle         (void);
gboolean               gimp_context_set_ink_blob_angle         (gdouble                   angle);
145
146
GeglDistanceMetric     gimp_context_get_distance_metric        (void);
gboolean               gimp_context_set_distance_metric        (GeglDistanceMetric        metric);
147
148
149
150
151


G_END_DECLS

#endif /* __GIMP_CONTEXT_PDB_H__ */