mirror of https://github.com/GNOME/gimp.git
pass the channel's offsets to gimp_paint_core_stroke_boundary().
2003-09-30 Michael Natterer <mitch@gimp.org> * app/core/gimpchannel.c (gimp_channel_stroke): pass the channel's offsets to gimp_paint_core_stroke_boundary().
This commit is contained in:
parent
33d35e65db
commit
5426aba926
|
@ -1,3 +1,8 @@
|
|||
2003-09-30 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/core/gimpchannel.c (gimp_channel_stroke): pass the channel's
|
||||
offsets to gimp_paint_core_stroke_boundary().
|
||||
|
||||
2003-09-30 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/widgets/gimpcontainergridview.c
|
||||
|
|
|
@ -596,7 +596,6 @@ gimp_channel_stroke (GimpItem *item,
|
|||
channel = GIMP_CHANNEL (item);
|
||||
|
||||
gimage = gimp_item_get_image (GIMP_ITEM (channel));
|
||||
gimp_item_offsets (GIMP_ITEM (channel), &offset_x, &offset_y);
|
||||
|
||||
g_return_val_if_fail (GIMP_IS_IMAGE (gimage), FALSE);
|
||||
|
||||
|
@ -608,6 +607,8 @@ gimp_channel_stroke (GimpItem *item,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
gimp_item_offsets (GIMP_ITEM (channel), &offset_x, &offset_y);
|
||||
|
||||
if (GIMP_IS_STROKE_OPTIONS (stroke_desc))
|
||||
{
|
||||
gimp_drawable_stroke_boundary (drawable,
|
||||
|
@ -628,8 +629,7 @@ gimp_channel_stroke (GimpItem *item,
|
|||
retval = gimp_paint_core_stroke_boundary (core, drawable,
|
||||
paint_info->paint_options,
|
||||
segs_in, n_segs_in,
|
||||
0, 0);
|
||||
|
||||
offset_x, offset_y);
|
||||
g_object_unref (core);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue