47
47
<div class="refsynopsisdiv">
48
48
<a name="libgimp-gimppaths.synopsis"></a><h2>Synopsis</h2>
49
49
<pre class="synopsis">
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
52
>gchar</a>** <a class="link" href="libgimp-gimppaths.html#gimp-path-list" title="gimp_path_list ()">gimp_path_list</a> (<a
53
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
56
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
57
>gint</a> *num_paths);
59
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
60
>gint</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-get-points" title="gimp_path_get_points ()">gimp_path_get_points</a> (<a
61
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
64
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
67
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
68
>gint</a> *path_closed,
70
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
71
>gint</a> *num_path_point_details,
73
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
74
>gdouble</a> **points_pairs);
76
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
77
>gchar</a>* <a class="link" href="libgimp-gimppaths.html#gimp-path-get-current" title="gimp_path_get_current ()">gimp_path_get_current</a> (<a
78
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
79
>gint32</a> image_ID);
81
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
82
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-set-current" title="gimp_path_set_current ()">gimp_path_set_current</a> (<a
83
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
86
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
90
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-set-points" title="gimp_path_set_points ()">gimp_path_set_points</a> (<a
91
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
94
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
97
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
100
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
101
>gint</a> num_path_points,
103
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
104
>gdouble</a> *points_pairs);
106
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
107
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-stroke-current" title="gimp_path_stroke_current ()">gimp_path_stroke_current</a> (<a
108
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
109
>gint32</a> image_ID);
111
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
112
>gint</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-get-point-at-dist" title="gimp_path_get_point_at_dist ()">gimp_path_get_point_at_dist</a> (<a
113
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
114
>gint32</a> image_ID,
116
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
117
>gdouble</a> distance,
119
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
122
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
123
>gdouble</a> *slope);
125
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
126
>gint</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-get-tattoo" title="gimp_path_get_tattoo ()">gimp_path_get_tattoo</a> (<a
127
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
128
>gint32</a> image_ID,
130
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
133
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
134
>gchar</a>* <a class="link" href="libgimp-gimppaths.html#gimp-get-path-by-tattoo" title="gimp_get_path_by_tattoo ()">gimp_get_path_by_tattoo</a> (<a
135
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
136
>gint32</a> image_ID,
138
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
141
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
142
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-delete" title="gimp_path_delete ()">gimp_path_delete</a> (<a
143
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
144
>gint32</a> image_ID,
146
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
149
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
150
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-get-locked" title="gimp_path_get_locked ()">gimp_path_get_locked</a> (<a
151
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
152
>gint32</a> image_ID,
154
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
157
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
158
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-set-locked" title="gimp_path_set_locked ()">gimp_path_set_locked</a> (<a
159
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
160
>gint32</a> image_ID,
162
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
165
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
166
>gboolean</a> locked);
168
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
169
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-set-tattoo" title="gimp_path_set_tattoo ()">gimp_path_set_tattoo</a> (<a
170
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
171
>gint32</a> image_ID,
173
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
176
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
177
>gint</a> tattovalue);
179
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
180
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-to-selection" title="gimp_path_to_selection ()">gimp_path_to_selection</a> (<a
181
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
182
>gint32</a> image_ID,
184
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
187
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
50
gchar** <a class="link" href="libgimp-gimppaths.html#gimp-path-list" title="gimp_path_list ()">gimp_path_list</a> (gint32 image_ID,
52
gint <a class="link" href="libgimp-gimppaths.html#gimp-path-get-points" title="gimp_path_get_points ()">gimp_path_get_points</a> (gint32 image_ID,
55
gint *num_path_point_details,
56
gdouble **points_pairs);
57
gchar* <a class="link" href="libgimp-gimppaths.html#gimp-path-get-current" title="gimp_path_get_current ()">gimp_path_get_current</a> (gint32 image_ID);
58
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-set-current" title="gimp_path_set_current ()">gimp_path_set_current</a> (gint32 image_ID,
60
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-set-points" title="gimp_path_set_points ()">gimp_path_set_points</a> (gint32 image_ID,
64
const gdouble *points_pairs);
65
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-stroke-current" title="gimp_path_stroke_current ()">gimp_path_stroke_current</a> (gint32 image_ID);
66
gint <a class="link" href="libgimp-gimppaths.html#gimp-path-get-point-at-dist" title="gimp_path_get_point_at_dist ()">gimp_path_get_point_at_dist</a> (gint32 image_ID,
70
gint <a class="link" href="libgimp-gimppaths.html#gimp-path-get-tattoo" title="gimp_path_get_tattoo ()">gimp_path_get_tattoo</a> (gint32 image_ID,
72
gchar* <a class="link" href="libgimp-gimppaths.html#gimp-get-path-by-tattoo" title="gimp_get_path_by_tattoo ()">gimp_get_path_by_tattoo</a> (gint32 image_ID,
74
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-delete" title="gimp_path_delete ()">gimp_path_delete</a> (gint32 image_ID,
76
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-get-locked" title="gimp_path_get_locked ()">gimp_path_get_locked</a> (gint32 image_ID,
78
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-set-locked" title="gimp_path_set_locked ()">gimp_path_set_locked</a> (gint32 image_ID,
81
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-set-tattoo" title="gimp_path_set_tattoo ()">gimp_path_set_tattoo</a> (gint32 image_ID,
84
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-to-selection" title="gimp_path_to_selection ()">gimp_path_to_selection</a> (gint32 image_ID,
87
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
188
88
>GimpChannelOps</a> op,
190
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
191
>gboolean</a> antialias,
193
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
194
>gboolean</a> feather,
196
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
197
>gdouble</a> feather_radius_x,
199
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
200
>gdouble</a> feather_radius_y);
202
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
203
>gboolean</a> <a class="link" href="libgimp-gimppaths.html#gimp-path-import" title="gimp_path_import ()">gimp_path_import</a> (<a
204
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
205
>gint32</a> image_ID,
207
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
208
>gchar</a> *filename,
210
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
213
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
214
>gboolean</a> scale);
91
gdouble feather_radius_x,
92
gdouble feather_radius_y);
93
gboolean <a class="link" href="libgimp-gimppaths.html#gimp-path-import" title="gimp_path_import ()">gimp_path_import</a> (gint32 image_ID,
94
const gchar *filename,
217
99
<div class="refsect1" lang="en">
832
618
<div class="refsect2" lang="en">
833
619
<a name="gimp-path-to-selection"></a><h3>gimp_path_to_selection ()</h3>
834
<pre class="programlisting"><a
835
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
836
>gboolean</a> gimp_path_to_selection (<a
837
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint32"
838
>gint32</a> image_ID,
840
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
620
<pre class="programlisting">gboolean gimp_path_to_selection (gint32 image_ID,
843
href="/usr/share/gtk-doc/html/libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
623
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpChannelOps"
844
624
>GimpChannelOps</a> op,
846
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
847
>gboolean</a> antialias,
849
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
850
>gboolean</a> feather,
852
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
853
>gdouble</a> feather_radius_x,
855
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"
856
>gdouble</a> feather_radius_y);</pre>
627
gdouble feather_radius_x,
628
gdouble feather_radius_y);</pre>
857
629
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
858
630
<h3 class="title">Warning</h3>
859
631
<p><code class="literal">gimp_path_to_selection</code> is deprecated and should not be used in newly-written code.</p>