From c2bdf418f6b20da07f1675a0b050879cf7d4be92 Mon Sep 17 00:00:00 2001 From: bootchk Date: Wed, 6 Sep 2023 09:01:35 -0400 Subject: [PATCH] libgimp API: vectors.pdb remove trailing whitespace Since most editors do that on save anyway. No functional change. --- pdb/groups/vectors.pdb | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/pdb/groups/vectors.pdb b/pdb/groups/vectors.pdb index 709844c801..52e3090ee0 100644 --- a/pdb/groups/vectors.pdb +++ b/pdb/groups/vectors.pdb @@ -192,7 +192,7 @@ sub vectors_stroke_get_length { code => <<"CODE" { GimpStroke *stroke = gimp_pdb_get_vectors_stroke (vectors, stroke_id, 0, error); - + if (stroke) length = gimp_stroke_get_length (stroke, precision); else @@ -207,7 +207,7 @@ sub vectors_stroke_get_point_at_dist { $help = <<'HELP'; This will return the x,y position of a point at a given distance along the -stroke. The distance will be obtained by first digitizing the +stroke. The distance will be obtained by first digitizing the curve internally and then walking along the curve. For a closed stroke the start of the path is the first point on the path that was created. This might not be obvious. If the stroke is not long enough, a "valid" flag will be FALSE. @@ -241,7 +241,7 @@ HELP code => <<"CODE" { GimpStroke *stroke = gimp_pdb_get_vectors_stroke (vectors, stroke_id, 0, error); - + if (stroke) { GimpCoords coord; @@ -279,7 +279,7 @@ HELP { GimpStroke *stroke = gimp_pdb_get_vectors_stroke (vectors, stroke_id, GIMP_PDB_ITEM_CONTENT, error); - + if (stroke) { if (gimp_item_is_attached (GIMP_ITEM (vectors))) @@ -317,7 +317,7 @@ HELP { GimpStroke *stroke = gimp_pdb_get_vectors_stroke (vectors, stroke_id, GIMP_PDB_ITEM_CONTENT, error); - + if (stroke) { if (gimp_item_is_attached (GIMP_ITEM (vectors))) @@ -405,7 +405,7 @@ HELP GIMP_PDB_ITEM_CONTENT | GIMP_PDB_ITEM_POSITION, error); - + if (stroke) { if (gimp_item_is_attached (GIMP_ITEM (vectors))) @@ -451,7 +451,7 @@ HELP GIMP_PDB_ITEM_CONTENT | GIMP_PDB_ITEM_POSITION, error); - + if (stroke) { if (gimp_item_is_attached (GIMP_ITEM (vectors))) @@ -498,7 +498,7 @@ HELP GIMP_PDB_ITEM_CONTENT | GIMP_PDB_ITEM_POSITION, error); - + if (stroke) { if (gimp_item_is_attached (GIMP_ITEM (vectors))) @@ -544,7 +544,7 @@ HELP GIMP_PDB_ITEM_CONTENT | GIMP_PDB_ITEM_POSITION, error); - + if (stroke) { if (gimp_item_is_attached (GIMP_ITEM (vectors))) @@ -595,7 +595,7 @@ HELP GIMP_PDB_ITEM_CONTENT | GIMP_PDB_ITEM_POSITION, error); - + if (stroke) { if (gimp_item_is_attached (GIMP_ITEM (vectors))) @@ -647,7 +647,7 @@ HELP code => <<"CODE" { GimpStroke *stroke = gimp_pdb_get_vectors_stroke (vectors, stroke_id, 0, error); - + if (GIMP_IS_BEZIER_STROKE (stroke)) { GArray *points_array; @@ -713,7 +713,7 @@ HELP code => <<"CODE" { GimpStroke *stroke = gimp_pdb_get_vectors_stroke (vectors, stroke_id, 0, error); - + if (stroke) { GArray *coords_array; @@ -1162,7 +1162,7 @@ HELP { GList *list; gint i; - + vectors = g_new (GimpVectors *, num_vectors); for (i = 0, list = vectors_list; @@ -1231,9 +1231,9 @@ HELP { GList *list; gint i; - + vectors = g_new (GimpVectors *, num_vectors); - + for (i = 0, list = vectors_list; i < num_vectors; i++, list = g_list_next (list)) @@ -1289,7 +1289,7 @@ sub vectors_export_to_string { $help = <<'HELP'; This procedure works like gimp_vectors_export_to_file() but creates a string -rather than a file. The contents are a NUL-terminated string that holds a +rather than a file. The contents are a NUL-terminated string that holds a complete XML document. If you pass 0 as the 'vectors' argument, then all paths in the image will be exported. HELP