Commit 36965d27 authored by Dave Neary's avatar Dave Neary Committed by David Neary

Applied a patch from Wolfgang Hofer <hof@gimp.org> to make



2003-10-24  Dave Neary  <bolsh@gimp.org>

        * tools/pdbgen/pdb/paths.pdb: Applied a patch from
        Wolfgang Hofer <hof@gimp.org> to make gimp_path_get_points
        behave the same as in 1.2.x. Closes bug #125008.
parent 1c93e408
2003-10-24 Dave Neary <bolsh@gimp.org>
* tools/pdbgen/pdb/paths.pdb: Applied a patch from
Wolfgang Hofer <hof@gimp.org> to make gimp_path_get_points
behave the same as in 1.2.x. Closes bug #125008.
2003-10-24 Jakub Steiner <jimmac@ximian.com>
* themes/Default/images/stock-histogram-linear-16.png
......@@ -83,7 +83,7 @@ HELP
array => { name => 'num_path_point_details',
desc => 'The number of points returned. Each point is
made up of (x, y, pnt_type) of floats',
alias => 'num_points', init => 1 } }
alias => 'num_point_details', init => 1 } }
);
%invoke = (
......@@ -95,18 +95,21 @@ HELP
if (vectors)
{
GimpVectorsCompatPoint *points;
gint num_points;
path_type = 1; /* BEZIER (1.2 compat) */
points = gimp_vectors_compat_get_points (vectors, &num_points,
&path_closed);
num_point_details = num_points * 3;
if (points)
{
gdouble *curr_point;
gint i;
points_pairs = g_new0 (gdouble, num_points * 3);
points_pairs = g_new0 (gdouble, num_point_details);
for (i = 0, curr_point = points_pairs;
i < num_points;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment