gimp/app/display
Pedro Gimeno 9127a54dec Fixed several off-by-one problems in display:
2004-03-20  Pedro Gimeno  <pggimeno@wanadoo.es>

	Fixed several off-by-one problems in display:

	* app/display/gimpdisplayshell.h (PROJ_ROUND): New macro to apply
	to a float the same rounding method as the one used when rendering.
	(SCALEX, SCALEY): Use PROJ_ROUND instead of truncating.

	* app/display/gimpdisplayshell-transform.c
	(gimp_display_shell_transform_xy): Accept gdouble image coordinates
	even if the returned screen coordinates are integer. Use PROJ_ROUND
	instead of (gint) to apply proper rounding. Fixes bug #137566.

	* app/display/gimpdisplayshell-transform.h
	(gimp_display_shell_transform_xy): changed accordingly.

	* app/display/gimpdisplayshell-draw.c
	* app/tools/gimpdrawtool.c: make sure everywhere that PROJ_ROUND
	is used either directly or through gimp_display_shell_transform_xy,
	instead of using arbitrary rounding methods.
2004-03-20 21:59:41 +00:00
..
.cvsignore new function to set the sensitivity of an option_menu. 2002-03-17 16:35:05 +00:00
display-enums.c app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
display-enums.h app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
display-types.h app/display/Makefile.am app/display/display-types.h added GimpCanvas, 2003-11-09 23:24:40 +00:00
gimpcanvas.c fixed my last change here; of course only the guide GCs need a stipple 2004-02-16 12:03:52 +00:00
gimpcanvas.h added gimp_canvas_set_clip_region(). 2003-11-11 17:07:41 +00:00
gimpdisplay-area.c Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-area.h Wishlist item #57669: 2001-11-16 15:08:59 +00:00
gimpdisplay-foreach.c call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimpdisplay-foreach.h call tool_manager_oper_active_update() also on GDK_ENTER_NOTIFY, 2003-10-29 15:03:56 +00:00
gimpdisplay-handlers.c removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
gimpdisplay-handlers.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplay.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplay.h Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplayoptions.c gimp/app/display/gimpdisplayoptions.c added blurbs to the remaining 2003-10-23 17:02:37 +00:00
gimpdisplayoptions.h changed PROP_SHOW_ACTIVE_LAYER to PROP_SHOW_LAYER_BOUNDARY to be 2003-10-23 07:33:16 +00:00
gimpdisplayshell-appearance.c update shell->popup_factory only if this is the active display or we will 2003-11-11 13:09:50 +00:00
gimpdisplayshell-appearance.h app/display/Makefile.am new files that implement a GimpConfig object with 2003-10-22 14:46:05 +00:00
gimpdisplayshell-callbacks.c redid last change so it calls tool_manager_cursor_update_active() *before* 2004-03-10 17:52:56 +00:00
gimpdisplayshell-callbacks.h app/display/gimpdisplayshell-callbacks.[ch] override 2003-02-25 19:12:11 +00:00
gimpdisplayshell-cursor.c return the snapped coordinates as gdouble, not gint because we must not 2004-02-23 18:23:31 +00:00
gimpdisplayshell-cursor.h return the snapped coordinates as gdouble, not gint because we must not 2004-02-23 18:23:31 +00:00
gimpdisplayshell-dnd.c added gimp_text_layer_set(), a function that calls g_object_set() on the 2004-03-19 22:12:18 +00:00
gimpdisplayshell-dnd.h added gimp_display_shell_drop_svg() (untested because there is no place to 2003-12-21 22:09:03 +00:00
gimpdisplayshell-draw.c Fixed several off-by-one problems in display: 2004-03-20 21:59:41 +00:00
gimpdisplayshell-draw.h removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
gimpdisplayshell-filter-dialog.c themes/Default/images/Makefile.am 2004-02-19 16:51:44 +00:00
gimpdisplayshell-filter-dialog.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.c forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-filter.h forgot to declare gimp_color_display_stack_clone(). 2003-11-21 22:52:36 +00:00
gimpdisplayshell-handlers.c disconnect from the correct config objects. Fixes bug #134694. 2004-02-18 02:33:49 +00:00
gimpdisplayshell-handlers.h app/Makefile.am removed. 2001-11-10 19:10:28 +00:00
gimpdisplayshell-layer-select.c don't allow to select anything but the floating selection. Fixes bug 2004-01-18 12:16:44 +00:00
gimpdisplayshell-layer-select.h To be multihead safe, each new window or menu needs to be associated with 2003-11-08 15:29:47 +00:00
gimpdisplayshell-render.c use gdouble instead of gfloat for x and y scale factors so gfloat's 2004-02-04 02:00:04 +00:00
gimpdisplayshell-render.h added "gchar *stock_id" to the GimpViewable struct. It is used by the GUI 2003-02-26 16:17:10 +00:00
gimpdisplayshell-scale.c improved dialog layout. 2004-02-03 15:51:25 +00:00
gimpdisplayshell-scale.h Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplayshell-scroll.c Added support for permanently showing the visible vectors, not only when 2003-09-11 22:24:30 +00:00
gimpdisplayshell-scroll.h fscking broken pipe... 2001-10-31 21:20:09 +00:00
gimpdisplayshell-selection.c don't draw the outbounds selection when the selection is hidden (bug 2004-01-26 19:55:34 +00:00
gimpdisplayshell-selection.h some more cleanup. 2003-11-11 15:29:47 +00:00
gimpdisplayshell-title.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpdisplayshell-title.h bumped the version number to 1.3.12. 2003-01-03 18:01:30 +00:00
gimpdisplayshell-transform.c Fixed several off-by-one problems in display: 2004-03-20 21:59:41 +00:00
gimpdisplayshell-transform.h Fixed several off-by-one problems in display: 2004-03-20 21:59:41 +00:00
gimpdisplayshell.c added runtime check for GTK+ >= 2.4.0 and make sure the menubar's accels 2004-03-19 12:52:27 +00:00
gimpdisplayshell.h Fixed several off-by-one problems in display: 2004-03-20 21:59:41 +00:00
gimpnavigationeditor.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpnavigationeditor.h themes/Default/images/Makefile.am 2003-04-03 16:13:12 +00:00
gimpnavigationview.c Store the zoom factor as float, not as a ratio. 2004-01-29 22:22:29 +00:00
gimpnavigationview.h themes/Default/images/Makefile.am 2003-04-03 16:13:12 +00:00
gimpprogress.c check display->shell before using it. It might be NULL if the function is 2004-02-26 14:01:57 +00:00
gimpprogress.h app/config/gimpconfig-deserialize.c app/config/gimpconfig-serialize.c 2003-08-08 19:30:23 +00:00
gimpstatusbar.c app/core/Makefile.am added small wrappers to ease handling of image units 2003-10-01 17:32:14 +00:00
gimpstatusbar.h removed gdisp->scale, gdisp->dot_for_dot, the scaling marcos and the 2002-06-26 22:16:59 +00:00
Makefile.am removed all drawing functions. The file was still too large. 2004-02-07 00:16:52 +00:00
makefile.msc new file to keep common definitions for the msc build use common 2004-02-07 23:01:33 +00:00