CVSROOT: /cvs/gnome
Module name: gimp
Changes by: mitch 06/08/14 16:32:42
Modified files:
. : ChangeLog
app/tools : gimpiscissorstool.c
Log message:
2006-08-14 Michael Natterer <[EMAIL PROTECTED]>
Fixed rounding and double vs. integer inconsistency when dealing
with mouse coordinates. Fixes bug #350694
[http://bugzilla.gnome.org/show_bug.cgi?id=350694].
* app/tools/gimpiscissorstool.c
(clicked_on_vertex)
(clicked_on_curve): added double x and y parameters and use them
instead of the integer iscissors->x and ->y. Cleaned up the
functions a bit.
(gimp_iscissors_tool_button_press)
(gimp_iscissors_tool_motion): changed accordingly, also rint() the
passed mouse coords when assigning them to iscissors->x and ->y.
Unrelated cleanup:
(iscissors_free_buffers): removed, folded into reset()
(precalculate_arrays): removed, folded into class_init()
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gimp&who=mitch&date=explicit&mindate=2006-08-14%2016:31&maxdate=2006-08-14%2016:33
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list