25
<link linkend="gchar">gchar</link>** <link linkend="gimp-path-list">gimp_path_list</link> (<link linkend="gint32">gint32</link> image_ID,
26
<link linkend="gint">gint</link> *num_paths);
27
<link linkend="gint">gint</link> <link linkend="gimp-path-get-points">gimp_path_get_points</link> (<link linkend="gint32">gint32</link> image_ID,
28
const <link linkend="gchar">gchar</link> *name,
29
<link linkend="gint">gint</link> *path_closed,
30
<link linkend="gint">gint</link> *num_path_point_details,
31
<link linkend="gdouble">gdouble</link> **points_pairs);
32
<link linkend="gchar">gchar</link>* <link linkend="gimp-path-get-current">gimp_path_get_current</link> (<link linkend="gint32">gint32</link> image_ID);
33
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-current">gimp_path_set_current</link> (<link linkend="gint32">gint32</link> image_ID,
34
const <link linkend="gchar">gchar</link> *name);
35
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-points">gimp_path_set_points</link> (<link linkend="gint32">gint32</link> image_ID,
36
const <link linkend="gchar">gchar</link> *name,
37
<link linkend="gint">gint</link> ptype,
38
<link linkend="gint">gint</link> num_path_points,
39
const <link linkend="gdouble">gdouble</link> *points_pairs);
40
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-stroke-current">gimp_path_stroke_current</link> (<link linkend="gint32">gint32</link> image_ID);
41
<link linkend="gint">gint</link> <link linkend="gimp-path-get-point-at-dist">gimp_path_get_point_at_dist</link> (<link linkend="gint32">gint32</link> image_ID,
42
<link linkend="gdouble">gdouble</link> distance,
43
<link linkend="gint">gint</link> *y_point,
44
<link linkend="gdouble">gdouble</link> *slope);
45
<link linkend="gint">gint</link> <link linkend="gimp-path-get-tattoo">gimp_path_get_tattoo</link> (<link linkend="gint32">gint32</link> image_ID,
46
const <link linkend="gchar">gchar</link> *name);
47
<link linkend="gchar">gchar</link>* <link linkend="gimp-get-path-by-tattoo">gimp_get_path_by_tattoo</link> (<link linkend="gint32">gint32</link> image_ID,
48
<link linkend="gint">gint</link> tattoo);
49
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-delete">gimp_path_delete</link> (<link linkend="gint32">gint32</link> image_ID,
50
const <link linkend="gchar">gchar</link> *name);
51
<link linkend="gint">gint</link> <link linkend="gimp-path-get-locked">gimp_path_get_locked</link> (<link linkend="gint32">gint32</link> image_ID,
52
const <link linkend="gchar">gchar</link> *name);
53
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-locked">gimp_path_set_locked</link> (<link linkend="gint32">gint32</link> image_ID,
54
const <link linkend="gchar">gchar</link> *name,
55
<link linkend="gint">gint</link> lockstatus);
56
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-tattoo">gimp_path_set_tattoo</link> (<link linkend="gint32">gint32</link> image_ID,
57
const <link linkend="gchar">gchar</link> *name,
58
<link linkend="gint">gint</link> tattovalue);
59
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-to-selection">gimp_path_to_selection</link> (<link linkend="gint32">gint32</link> image_ID,
60
const <link linkend="gchar">gchar</link> *name,
61
<link linkend="GimpChannelOps">GimpChannelOps</link> op,
62
<link linkend="gboolean">gboolean</link> antialias,
63
<link linkend="gboolean">gboolean</link> feather,
64
<link linkend="gdouble">gdouble</link> feather_radius_x,
65
<link linkend="gdouble">gdouble</link> feather_radius_y);
66
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-import">gimp_path_import</link> (<link linkend="gint32">gint32</link> image_ID,
67
const <link linkend="gchar">gchar</link> *filename,
68
<link linkend="gboolean">gboolean</link> merge,
69
<link linkend="gboolean">gboolean</link> scale);
25
<link linkend="gchar">gchar</link>** <link linkend="gimp-path-list">gimp_path_list</link> (<link linkend="gint32">gint32</link> image_ID,
26
<link linkend="gint">gint</link> *num_paths);
27
<link linkend="gint">gint</link> <link linkend="gimp-path-get-points">gimp_path_get_points</link> (<link linkend="gint32">gint32</link> image_ID,
28
const <link linkend="gchar">gchar</link> *name,
29
<link linkend="gint">gint</link> *path_closed,
30
<link linkend="gint">gint</link> *num_path_point_details,
31
<link linkend="gdouble">gdouble</link> **points_pairs);
32
<link linkend="gchar">gchar</link>* <link linkend="gimp-path-get-current">gimp_path_get_current</link> (<link linkend="gint32">gint32</link> image_ID);
33
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-current">gimp_path_set_current</link> (<link linkend="gint32">gint32</link> image_ID,
34
const <link linkend="gchar">gchar</link> *name);
35
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-points">gimp_path_set_points</link> (<link linkend="gint32">gint32</link> image_ID,
36
const <link linkend="gchar">gchar</link> *name,
37
<link linkend="gint">gint</link> ptype,
38
<link linkend="gint">gint</link> num_path_points,
39
const <link linkend="gdouble">gdouble</link> *points_pairs);
40
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-stroke-current">gimp_path_stroke_current</link> (<link linkend="gint32">gint32</link> image_ID);
41
<link linkend="gint">gint</link> <link linkend="gimp-path-get-point-at-dist">gimp_path_get_point_at_dist</link> (<link linkend="gint32">gint32</link> image_ID,
42
<link linkend="gdouble">gdouble</link> distance,
43
<link linkend="gint">gint</link> *y_point,
44
<link linkend="gdouble">gdouble</link> *slope);
45
<link linkend="gint">gint</link> <link linkend="gimp-path-get-tattoo">gimp_path_get_tattoo</link> (<link linkend="gint32">gint32</link> image_ID,
46
const <link linkend="gchar">gchar</link> *name);
47
<link linkend="gchar">gchar</link>* <link linkend="gimp-get-path-by-tattoo">gimp_get_path_by_tattoo</link> (<link linkend="gint32">gint32</link> image_ID,
48
<link linkend="gint">gint</link> tattoo);
49
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-delete">gimp_path_delete</link> (<link linkend="gint32">gint32</link> image_ID,
50
const <link linkend="gchar">gchar</link> *name);
51
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-get-locked">gimp_path_get_locked</link> (<link linkend="gint32">gint32</link> image_ID,
52
const <link linkend="gchar">gchar</link> *name);
53
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-locked">gimp_path_set_locked</link> (<link linkend="gint32">gint32</link> image_ID,
54
const <link linkend="gchar">gchar</link> *name,
55
<link linkend="gboolean">gboolean</link> locked);
56
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-set-tattoo">gimp_path_set_tattoo</link> (<link linkend="gint32">gint32</link> image_ID,
57
const <link linkend="gchar">gchar</link> *name,
58
<link linkend="gint">gint</link> tattovalue);
59
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-to-selection">gimp_path_to_selection</link> (<link linkend="gint32">gint32</link> image_ID,
60
const <link linkend="gchar">gchar</link> *name,
61
<link linkend="GimpChannelOps">GimpChannelOps</link> op,
62
<link linkend="gboolean">gboolean</link> antialias,
63
<link linkend="gboolean">gboolean</link> feather,
64
<link linkend="gdouble">gdouble</link> feather_radius_x,
65
<link linkend="gdouble">gdouble</link> feather_radius_y);
66
<link linkend="gboolean">gboolean</link> <link linkend="gimp-path-import">gimp_path_import</link> (<link linkend="gint32">gint32</link> image_ID,
67
const <link linkend="gchar">gchar</link> *filename,
68
<link linkend="gboolean">gboolean</link> merge,
69
<link linkend="gboolean">gboolean</link> scale);
109
107
</simpara></listitem></varlistentry>
110
108
</variablelist></refsect2>
112
<title><anchor id="gimp-path-get-points" role="function"/>gimp_path_get_points ()</title>
113
<indexterm><primary>gimp_path_get_points</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_path_get_points (<link linkend="gint32">gint32</link> image_ID,
114
const <link linkend="gchar">gchar</link> *name,
115
<link linkend="gint">gint</link> *path_closed,
116
<link linkend="gint">gint</link> *num_path_point_details,
117
<link linkend="gdouble">gdouble</link> **points_pairs);</programlisting>
119
List the points associated with the named path.
122
List the points associated with the named path.</para>
110
<title><anchor id="gimp-path-get-points" role="function" condition="deprecated:"/>gimp_path_get_points ()</title>
111
<indexterm role="deprecated"><primary>gimp_path_get_points</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_path_get_points (<link linkend="gint32">gint32</link> image_ID,
112
const <link linkend="gchar">gchar</link> *name,
113
<link linkend="gint">gint</link> *path_closed,
114
<link linkend="gint">gint</link> *num_path_point_details,
115
<link linkend="gdouble">gdouble</link> **points_pairs);</programlisting>
116
<warning><para><literal>gimp_path_get_points</literal> is deprecated and should not be used in newly-written code.</para></warning>
118
This procedure is deprecated! Use <link linkend="gimp-vectors-stroke-get-points"><function>gimp_vectors_stroke_get_points()</function></link>
125
122
</para><variablelist role="params">
126
123
<varlistentry><term><parameter>image_ID</parameter> :</term>
127
<listitem><simpara> The ID of the image to list the paths from.
124
<listitem><simpara> The image to list the paths from.
128
125
</simpara></listitem></varlistentry>
129
126
<varlistentry><term><parameter>name</parameter> :</term>
130
127
<listitem><simpara> The name of the path whose points should be listed.
142
139
</simpara></listitem></varlistentry>
143
140
</variablelist></refsect2>
145
<title><anchor id="gimp-path-get-current" role="function"/>gimp_path_get_current ()</title>
146
<indexterm><primary>gimp_path_get_current</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* gimp_path_get_current (<link linkend="gint32">gint32</link> image_ID);</programlisting>
148
The name of the current path. Error if no paths.
151
The name of the current path. Error if no paths.</para>
142
<title><anchor id="gimp-path-get-current" role="function" condition="deprecated:"/>gimp_path_get_current ()</title>
143
<indexterm role="deprecated"><primary>gimp_path_get_current</primary></indexterm><programlisting><link linkend="gchar">gchar</link>* gimp_path_get_current (<link linkend="gint32">gint32</link> image_ID);</programlisting>
144
<warning><para><literal>gimp_path_get_current</literal> is deprecated and should not be used in newly-written code.</para></warning>
146
This procedure is deprecated! Use <link linkend="gimp-image-get-active-vectors"><function>gimp_image_get_active_vectors()</function></link>
154
150
</para><variablelist role="params">
155
151
<varlistentry><term><parameter>image_ID</parameter> :</term>
156
<listitem><simpara> The ID of the image to get the current path from.
152
<listitem><simpara> The image to get the current path from.
157
153
</simpara></listitem></varlistentry>
158
154
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> The name of the current path.
159
155
</simpara></listitem></varlistentry>
160
156
</variablelist></refsect2>
162
<title><anchor id="gimp-path-set-current" role="function"/>gimp_path_set_current ()</title>
163
<indexterm><primary>gimp_path_set_current</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_current (<link linkend="gint32">gint32</link> image_ID,
164
const <link linkend="gchar">gchar</link> *name);</programlisting>
166
Sets the current path associated with the passed image.
169
Sets a named path as the current path.</para>
158
<title><anchor id="gimp-path-set-current" role="function" condition="deprecated:"/>gimp_path_set_current ()</title>
159
<indexterm role="deprecated"><primary>gimp_path_set_current</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_current (<link linkend="gint32">gint32</link> image_ID,
160
const <link linkend="gchar">gchar</link> *name);</programlisting>
161
<warning><para><literal>gimp_path_set_current</literal> is deprecated and should not be used in newly-written code.</para></warning>
163
This procedure is deprecated! Use <link linkend="gimp-image-set-active-vectors"><function>gimp_image_set_active_vectors()</function></link>
172
167
</para><variablelist role="params">
173
168
<varlistentry><term><parameter>image_ID</parameter> :</term>
174
<listitem><simpara> The ID of the image in which a path will become current.
169
<listitem><simpara> The image in which a path will become current.
175
170
</simpara></listitem></varlistentry>
176
171
<varlistentry><term><parameter>name</parameter> :</term>
177
172
<listitem><simpara> The name of the path to make current.
180
175
</simpara></listitem></varlistentry>
181
176
</variablelist></refsect2>
183
<title><anchor id="gimp-path-set-points" role="function"/>gimp_path_set_points ()</title>
184
<indexterm><primary>gimp_path_set_points</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_points (<link linkend="gint32">gint32</link> image_ID,
185
const <link linkend="gchar">gchar</link> *name,
186
<link linkend="gint">gint</link> ptype,
187
<link linkend="gint">gint</link> num_path_points,
188
const <link linkend="gdouble">gdouble</link> *points_pairs);</programlisting>
190
Set the points associated with the named path.
193
Set the points associated with the named path.</para>
178
<title><anchor id="gimp-path-set-points" role="function" condition="deprecated:"/>gimp_path_set_points ()</title>
179
<indexterm role="deprecated"><primary>gimp_path_set_points</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_points (<link linkend="gint32">gint32</link> image_ID,
180
const <link linkend="gchar">gchar</link> *name,
181
<link linkend="gint">gint</link> ptype,
182
<link linkend="gint">gint</link> num_path_points,
183
const <link linkend="gdouble">gdouble</link> *points_pairs);</programlisting>
184
<warning><para><literal>gimp_path_set_points</literal> is deprecated and should not be used in newly-written code.</para></warning>
186
This procedure is deprecated! Use <link linkend="vectors-stroke-new-from-points"><function>vectors_stroke_new_from_points()</function></link>
196
190
</para><variablelist role="params">
197
191
<varlistentry><term><parameter>image_ID</parameter> :</term>
198
<listitem><simpara> The ID of the image to set the paths in.
192
<listitem><simpara> The image to set the paths in.
199
193
</simpara></listitem></varlistentry>
200
194
<varlistentry><term><parameter>name</parameter> :</term>
201
195
<listitem><simpara> The name of the path to create. If it exists then a unique name will be created - query the list of paths if you want to make sure that the name of the path you create is unique. This will be set as the current path.
213
207
</simpara></listitem></varlistentry>
214
208
</variablelist></refsect2>
216
<title><anchor id="gimp-path-stroke-current" role="function"/>gimp_path_stroke_current ()</title>
217
<indexterm><primary>gimp_path_stroke_current</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_stroke_current (<link linkend="gint32">gint32</link> image_ID);</programlisting>
219
Stroke the current path in the passed image.
222
Stroke the current path in the passed image.</para>
210
<title><anchor id="gimp-path-stroke-current" role="function" condition="deprecated:"/>gimp_path_stroke_current ()</title>
211
<indexterm role="deprecated"><primary>gimp_path_stroke_current</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_stroke_current (<link linkend="gint32">gint32</link> image_ID);</programlisting>
212
<warning><para><literal>gimp_path_stroke_current</literal> is deprecated and should not be used in newly-written code.</para></warning>
214
This procedure is deprecated! Use <link linkend="gimp-edit-stroke-vectors"><function>gimp_edit_stroke_vectors()</function></link>
225
218
</para><variablelist role="params">
226
219
<varlistentry><term><parameter>image_ID</parameter> :</term>
227
<listitem><simpara> The ID of the image which contains the path to stroke.
220
<listitem><simpara> The image which contains the path to stroke.
228
221
</simpara></listitem></varlistentry>
229
222
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> TRUE on success.
230
223
</simpara></listitem></varlistentry>
231
224
</variablelist></refsect2>
233
<title><anchor id="gimp-path-get-point-at-dist" role="function"/>gimp_path_get_point_at_dist ()</title>
234
<indexterm><primary>gimp_path_get_point_at_dist</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_path_get_point_at_dist (<link linkend="gint32">gint32</link> image_ID,
235
<link linkend="gdouble">gdouble</link> distance,
236
<link linkend="gint">gint</link> *y_point,
237
<link linkend="gdouble">gdouble</link> *slope);</programlisting>
239
Get point on a path at a specified distance along the path.
242
This will return the x,y position of a point at a given distance
243
along the bezier curve. The distance will be obtained by first
244
digitizing the curve internally and then walking along the curve.
245
For a closed curve the start of the path is the first point on the
246
path that was created. This might not be obvious. Note the current
226
<title><anchor id="gimp-path-get-point-at-dist" role="function" condition="deprecated:"/>gimp_path_get_point_at_dist ()</title>
227
<indexterm role="deprecated"><primary>gimp_path_get_point_at_dist</primary></indexterm><programlisting><link linkend="gint">gint</link> gimp_path_get_point_at_dist (<link linkend="gint32">gint32</link> image_ID,
228
<link linkend="gdouble">gdouble</link> distance,
229
<link linkend="gint">gint</link> *y_point,
230
<link linkend="gdouble">gdouble</link> *slope);</programlisting>
231
<warning><para><literal>gimp_path_get_point_at_dist</literal> is deprecated and should not be used in newly-written code.</para></warning>
233
This procedure is deprecated! Use
234
<link linkend="gimp-vectors-stroke-get-point-at-dist"><function>gimp_vectors_stroke_get_point_at_dist()</function></link> instead.</para>
250
237
</para><variablelist role="params">
251
238
<varlistentry><term><parameter>image_ID</parameter> :</term>
252
<listitem><simpara> The ID of the image the paths belongs to.
239
<listitem><simpara> The image the paths belongs to.
253
240
</simpara></listitem></varlistentry>
254
241
<varlistentry><term><parameter>distance</parameter> :</term>
255
242
<listitem><simpara> The distance along the path.
353
325
<varlistentry><term><parameter>name</parameter> :</term>
354
326
<listitem><simpara> The name of the path whose locked status should be obtained.
355
327
</simpara></listitem></varlistentry>
356
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> The lock status associated with the name path. 0 is returned if the path is not locked. 1 is returned if the path is locked.
328
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> TRUE if the path is locked, FALSE otherwise.
357
329
</simpara></listitem></varlistentry>
358
330
</variablelist></refsect2>
360
<title><anchor id="gimp-path-set-locked" role="function"/>gimp_path_set_locked ()</title>
361
<indexterm><primary>gimp_path_set_locked</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_locked (<link linkend="gint32">gint32</link> image_ID,
362
const <link linkend="gchar">gchar</link> *name,
363
<link linkend="gint">gint</link> lockstatus);</programlisting>
365
Set the locked status associated with the named path.
368
This procedure sets the lock status associated with the specified
369
path. A path can be \"locked\" which means that the transformation
370
tool operations will also apply to the path.</para>
332
<title><anchor id="gimp-path-set-locked" role="function" condition="deprecated:"/>gimp_path_set_locked ()</title>
333
<indexterm role="deprecated"><primary>gimp_path_set_locked</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_locked (<link linkend="gint32">gint32</link> image_ID,
334
const <link linkend="gchar">gchar</link> *name,
335
<link linkend="gboolean">gboolean</link> locked);</programlisting>
336
<warning><para><literal>gimp_path_set_locked</literal> is deprecated and should not be used in newly-written code.</para></warning>
338
This procedure is deprecated! Use <link linkend="gimp-vectors-set-linked"><function>gimp_vectors_set_linked()</function></link> instead.</para>
373
341
</para><variablelist role="params">
377
345
<varlistentry><term><parameter>name</parameter> :</term>
378
346
<listitem><simpara> the name of the path whose locked status should be set.
379
347
</simpara></listitem></varlistentry>
380
<varlistentry><term><parameter>lockstatus</parameter> :</term>
381
<listitem><simpara> The lock status associated with the name path. 0 if the path is not locked. 1 if the path is to be locked.
348
<varlistentry><term><parameter>locked</parameter> :</term>
349
<listitem><simpara> Whether the path is locked.
382
350
</simpara></listitem></varlistentry>
383
351
<varlistentry><term><emphasis>Returns</emphasis> :</term><listitem><simpara> TRUE on success.
384
352
</simpara></listitem></varlistentry>
385
353
</variablelist></refsect2>
387
<title><anchor id="gimp-path-set-tattoo" role="function"/>gimp_path_set_tattoo ()</title>
388
<indexterm><primary>gimp_path_set_tattoo</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_tattoo (<link linkend="gint32">gint32</link> image_ID,
389
const <link linkend="gchar">gchar</link> *name,
390
<link linkend="gint">gint</link> tattovalue);</programlisting>
392
Sets the tattoo associated with the named path.
395
This procedure sets the tattoo associated with the specified path. A
396
tattoo is a unique and permenant identifier attached to a path that
397
can be used to uniquely identify a path within an image even between
398
sessions. Note that the value passed to this function must have been
399
obtained from a previous call to path_get_tattoo.</para>
355
<title><anchor id="gimp-path-set-tattoo" role="function" condition="deprecated:"/>gimp_path_set_tattoo ()</title>
356
<indexterm role="deprecated"><primary>gimp_path_set_tattoo</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_set_tattoo (<link linkend="gint32">gint32</link> image_ID,
357
const <link linkend="gchar">gchar</link> *name,
358
<link linkend="gint">gint</link> tattovalue);</programlisting>
359
<warning><para><literal>gimp_path_set_tattoo</literal> is deprecated and should not be used in newly-written code.</para></warning>
361
This procedure is deprecated! Use <link linkend="gimp-vectors-set-tattoo"><function>gimp_vectors_set_tattoo()</function></link> instead.</para>
402
364
</para><variablelist role="params">
413
375
</simpara></listitem></varlistentry>
414
376
</variablelist></refsect2>
416
<title><anchor id="gimp-path-to-selection" role="function"/>gimp_path_to_selection ()</title>
417
<indexterm><primary>gimp_path_to_selection</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_to_selection (<link linkend="gint32">gint32</link> image_ID,
418
const <link linkend="gchar">gchar</link> *name,
419
<link linkend="GimpChannelOps">GimpChannelOps</link> op,
420
<link linkend="gboolean">gboolean</link> antialias,
421
<link linkend="gboolean">gboolean</link> feather,
422
<link linkend="gdouble">gdouble</link> feather_radius_x,
423
<link linkend="gdouble">gdouble</link> feather_radius_y);</programlisting>
425
Transforms the active path into a selection
428
This procedure renders the desired path into the current selection.</para>
378
<title><anchor id="gimp-path-to-selection" role="function" condition="deprecated:"/>gimp_path_to_selection ()</title>
379
<indexterm role="deprecated"><primary>gimp_path_to_selection</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_to_selection (<link linkend="gint32">gint32</link> image_ID,
380
const <link linkend="gchar">gchar</link> *name,
381
<link linkend="GimpChannelOps">GimpChannelOps</link> op,
382
<link linkend="gboolean">gboolean</link> antialias,
383
<link linkend="gboolean">gboolean</link> feather,
384
<link linkend="gdouble">gdouble</link> feather_radius_x,
385
<link linkend="gdouble">gdouble</link> feather_radius_y);</programlisting>
386
<warning><para><literal>gimp_path_to_selection</literal> is deprecated and should not be used in newly-written code.</para></warning>
388
This procedure is deprecated! Use <link linkend="gimp-vectors-to-selection"><function>gimp_vectors_to_selection()</function></link>
431
392
</para><variablelist role="params">
454
415
</simpara></listitem></varlistentry>
455
416
</variablelist></refsect2>
457
<title><anchor id="gimp-path-import" role="function"/>gimp_path_import ()</title>
458
<indexterm><primary>gimp_path_import</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_import (<link linkend="gint32">gint32</link> image_ID,
459
const <link linkend="gchar">gchar</link> *filename,
460
<link linkend="gboolean">gboolean</link> merge,
461
<link linkend="gboolean">gboolean</link> scale);</programlisting>
463
Import paths from an SVG file.
466
This procedure imports paths from an SVG file. This is a temporary
467
solution until the new vectors PDB API is in place. Don't rely on
468
this function being available in future GIMP releases.</para>
418
<title><anchor id="gimp-path-import" role="function" condition="deprecated:"/>gimp_path_import ()</title>
419
<indexterm role="deprecated"><primary>gimp_path_import</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_path_import (<link linkend="gint32">gint32</link> image_ID,
420
const <link linkend="gchar">gchar</link> *filename,
421
<link linkend="gboolean">gboolean</link> merge,
422
<link linkend="gboolean">gboolean</link> scale);</programlisting>
423
<warning><para><literal>gimp_path_import</literal> is deprecated and should not be used in newly-written code.</para></warning>
425
This procedure is deprecated! Use <link linkend="vectors-import-from-file"><function>vectors_import_from_file()</function></link>
471
429
</para><variablelist role="params">