app: s/sprintf/g_snprintf/ in xcf_save_image()
[gimp.git] / libgimp / gimpcontext_pdb.h
blob743037e309e5d97e176ac8c4d0da08080f1fe8ea
1 /* LIBGIMP - The GIMP Library
2 * Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
4 * gimpcontext_pdb.h
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 3 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, see
18 * <https://www.gnu.org/licenses/>.
21 /* NOTE: This file is auto-generated by pdbgen.pl */
23 #if !defined (__GIMP_H_INSIDE__) && !defined (GIMP_COMPILATION)
24 #error "Only <libgimp/gimp.h> can be included directly."
25 #endif
27 #ifndef __GIMP_CONTEXT_PDB_H__
28 #define __GIMP_CONTEXT_PDB_H__
30 G_BEGIN_DECLS
32 /* For information look into the C source or the html documentation */
35 gboolean gimp_context_push (void);
36 gboolean gimp_context_pop (void);
37 gboolean gimp_context_set_defaults (void);
38 gboolean gimp_context_list_paint_methods (gint *num_paint_methods,
39 gchar ***paint_methods);
40 gchar* gimp_context_get_paint_method (void);
41 gboolean gimp_context_set_paint_method (const gchar *name);
42 GimpStrokeMethod gimp_context_get_stroke_method (void);
43 gboolean gimp_context_set_stroke_method (GimpStrokeMethod stroke_method);
44 gboolean gimp_context_get_foreground (GimpRGB *foreground);
45 gboolean gimp_context_set_foreground (const GimpRGB *foreground);
46 gboolean gimp_context_get_background (GimpRGB *background);
47 gboolean gimp_context_set_background (const GimpRGB *background);
48 gboolean gimp_context_set_default_colors (void);
49 gboolean gimp_context_swap_colors (void);
50 gdouble gimp_context_get_opacity (void);
51 gboolean gimp_context_set_opacity (gdouble opacity);
52 GimpLayerMode gimp_context_get_paint_mode (void);
53 gboolean gimp_context_set_paint_mode (GimpLayerMode paint_mode);
54 gdouble gimp_context_get_line_width (void);
55 gboolean gimp_context_set_line_width (gdouble line_width);
56 GimpUnit gimp_context_get_line_width_unit (void);
57 gboolean gimp_context_set_line_width_unit (GimpUnit line_width_unit);
58 GimpCapStyle gimp_context_get_line_cap_style (void);
59 gboolean gimp_context_set_line_cap_style (GimpCapStyle cap_style);
60 GimpJoinStyle gimp_context_get_line_join_style (void);
61 gboolean gimp_context_set_line_join_style (GimpJoinStyle join_style);
62 gdouble gimp_context_get_line_miter_limit (void);
63 gboolean gimp_context_set_line_miter_limit (gdouble miter_limit);
64 gdouble gimp_context_get_line_dash_offset (void);
65 gboolean gimp_context_set_line_dash_offset (gdouble dash_offset);
66 gboolean gimp_context_get_line_dash_pattern (gint *num_dashes,
67 gdouble **dashes);
68 gboolean gimp_context_set_line_dash_pattern (gint num_dashes,
69 const gdouble *dashes);
70 gchar* gimp_context_get_brush (void);
71 gboolean gimp_context_set_brush (const gchar *name);
72 gdouble gimp_context_get_brush_size (void);
73 gboolean gimp_context_set_brush_size (gdouble size);
74 gboolean gimp_context_set_brush_default_size (void);
75 gdouble gimp_context_get_brush_aspect_ratio (void);
76 gboolean gimp_context_set_brush_aspect_ratio (gdouble aspect);
77 gdouble gimp_context_get_brush_angle (void);
78 gboolean gimp_context_set_brush_angle (gdouble angle);
79 gdouble gimp_context_get_brush_spacing (void);
80 gboolean gimp_context_set_brush_spacing (gdouble spacing);
81 gboolean gimp_context_set_brush_default_spacing (void);
82 gdouble gimp_context_get_brush_hardness (void);
83 gboolean gimp_context_set_brush_hardness (gdouble hardness);
84 gboolean gimp_context_set_brush_default_hardness (void);
85 gdouble gimp_context_get_brush_force (void);
86 gboolean gimp_context_set_brush_force (gdouble force);
87 gchar* gimp_context_get_dynamics (void);
88 gboolean gimp_context_set_dynamics (const gchar *name);
89 gchar* gimp_context_get_mypaint_brush (void);
90 gboolean gimp_context_set_mypaint_brush (const gchar *name);
91 gchar* gimp_context_get_pattern (void);
92 gboolean gimp_context_set_pattern (const gchar *name);
93 gchar* gimp_context_get_gradient (void);
94 gboolean gimp_context_set_gradient (const gchar *name);
95 gboolean gimp_context_set_gradient_fg_bg_rgb (void);
96 gboolean gimp_context_set_gradient_fg_bg_hsv_cw (void);
97 gboolean gimp_context_set_gradient_fg_bg_hsv_ccw (void);
98 gboolean gimp_context_set_gradient_fg_transparent (void);
99 GimpGradientBlendColorSpace gimp_context_get_gradient_blend_color_space (void);
100 gboolean gimp_context_set_gradient_blend_color_space (GimpGradientBlendColorSpace blend_color_space);
101 GimpRepeatMode gimp_context_get_gradient_repeat_mode (void);
102 gboolean gimp_context_set_gradient_repeat_mode (GimpRepeatMode repeat_mode);
103 gboolean gimp_context_get_gradient_reverse (void);
104 gboolean gimp_context_set_gradient_reverse (gboolean reverse);
105 gchar* gimp_context_get_palette (void);
106 gboolean gimp_context_set_palette (const gchar *name);
107 gchar* gimp_context_get_font (void);
108 gboolean gimp_context_set_font (const gchar *name);
109 gboolean gimp_context_get_antialias (void);
110 gboolean gimp_context_set_antialias (gboolean antialias);
111 gboolean gimp_context_get_feather (void);
112 gboolean gimp_context_set_feather (gboolean feather);
113 gboolean gimp_context_get_feather_radius (gdouble *feather_radius_x,
114 gdouble *feather_radius_y);
115 gboolean gimp_context_set_feather_radius (gdouble feather_radius_x,
116 gdouble feather_radius_y);
117 gboolean gimp_context_get_sample_merged (void);
118 gboolean gimp_context_set_sample_merged (gboolean sample_merged);
119 GimpSelectCriterion gimp_context_get_sample_criterion (void);
120 gboolean gimp_context_set_sample_criterion (GimpSelectCriterion sample_criterion);
121 gdouble gimp_context_get_sample_threshold (void);
122 gboolean gimp_context_set_sample_threshold (gdouble sample_threshold);
123 gint gimp_context_get_sample_threshold_int (void);
124 gboolean gimp_context_set_sample_threshold_int (gint sample_threshold);
125 gboolean gimp_context_get_sample_transparent (void);
126 gboolean gimp_context_set_sample_transparent (gboolean sample_transparent);
127 gboolean gimp_context_get_diagonal_neighbors (void);
128 gboolean gimp_context_set_diagonal_neighbors (gboolean diagonal_neighbors);
129 GeglDistanceMetric gimp_context_get_distance_metric (void);
130 gboolean gimp_context_set_distance_metric (GeglDistanceMetric metric);
131 GimpInterpolationType gimp_context_get_interpolation (void);
132 gboolean gimp_context_set_interpolation (GimpInterpolationType interpolation);
133 GimpTransformDirection gimp_context_get_transform_direction (void);
134 gboolean gimp_context_set_transform_direction (GimpTransformDirection transform_direction);
135 GimpTransformResize gimp_context_get_transform_resize (void);
136 gboolean gimp_context_set_transform_resize (GimpTransformResize transform_resize);
137 gdouble gimp_context_get_ink_size (void);
138 gboolean gimp_context_set_ink_size (gdouble size);
139 gdouble gimp_context_get_ink_angle (void);
140 gboolean gimp_context_set_ink_angle (gdouble angle);
141 gdouble gimp_context_get_ink_size_sensitivity (void);
142 gboolean gimp_context_set_ink_size_sensitivity (gdouble size);
143 gdouble gimp_context_get_ink_tilt_sensitivity (void);
144 gboolean gimp_context_set_ink_tilt_sensitivity (gdouble tilt);
145 gdouble gimp_context_get_ink_speed_sensitivity (void);
146 gboolean gimp_context_set_ink_speed_sensitivity (gdouble speed);
147 GimpInkBlobType gimp_context_get_ink_blob_type (void);
148 gboolean gimp_context_set_ink_blob_type (GimpInkBlobType type);
149 gdouble gimp_context_get_ink_blob_aspect_ratio (void);
150 gboolean gimp_context_set_ink_blob_aspect_ratio (gdouble aspect);
151 gdouble gimp_context_get_ink_blob_angle (void);
152 gboolean gimp_context_set_ink_blob_angle (gdouble angle);
155 G_END_DECLS
157 #endif /* __GIMP_CONTEXT_PDB_H__ */