app: rename gimp_display_shell_[un]transform_coordiante() to _coords()

This commit is contained in:
Michael Natterer
2011-02-20 16:29:20 +01:00
parent 4bf3a136e0
commit 36cc10c4dc
4 changed files with 52 additions and 52 deletions

View File

@ -150,7 +150,7 @@ gimp_display_shell_autoscroll_timeout (gpointer data)
scroll_amount_x,
scroll_amount_y);
gimp_display_shell_untransform_coordinate (shell,
gimp_display_shell_untransform_coords (shell,
&device_coords,
&image_coords);

View File

@ -710,7 +710,7 @@ gimp_display_shell_untransform_event_coords (GimpDisplayShell *shell,
GimpTool *active_tool;
/* GimpCoords passed to tools are ALWAYS in image coordinates */
gimp_display_shell_untransform_coordinate (shell,
gimp_display_shell_untransform_coords (shell,
display_coords,
image_coords);

View File

@ -36,7 +36,7 @@
/**
* gimp_display_shell_transform_coordinate:
* gimp_display_shell_transform_coords:
* @shell: a #GimpDisplayShell
* @image_coords: image coordinates
* @display_coords: returns the corresponding display coordinates
@ -45,7 +45,7 @@
* objects can be rendered at the correct points on the display.
**/
void
gimp_display_shell_transform_coordinate (const GimpDisplayShell *shell,
gimp_display_shell_transform_coords (const GimpDisplayShell *shell,
const GimpCoords *image_coords,
GimpCoords *display_coords)
{
@ -63,7 +63,7 @@ gimp_display_shell_transform_coordinate (const GimpDisplayShell *shell,
}
/**
* gimp_display_shell_untransform_coordinate:
* gimp_display_shell_untransform_coords:
* @shell: a #GimpDisplayShell
* @display_coords: display coordinates
* @image_coords: returns the corresponding image coordinates
@ -72,7 +72,7 @@ gimp_display_shell_transform_coordinate (const GimpDisplayShell *shell,
* points on the display can be mapped to points in the image.
**/
void
gimp_display_shell_untransform_coordinate (const GimpDisplayShell *shell,
gimp_display_shell_untransform_coords (const GimpDisplayShell *shell,
const GimpCoords *display_coords,
GimpCoords *image_coords)
{

View File

@ -19,10 +19,10 @@
#define __GIMP_DISPLAY_SHELL_TRANSFORM_H__
void gimp_display_shell_transform_coordinate (const GimpDisplayShell *shell,
void gimp_display_shell_transform_coords (const GimpDisplayShell *shell,
const GimpCoords *image_coords,
GimpCoords *display_coords);
void gimp_display_shell_untransform_coordinate (const GimpDisplayShell *shell,
void gimp_display_shell_untransform_coords (const GimpDisplayShell *shell,
const GimpCoords *display_coords,
GimpCoords *image_coords);