mirror of https://github.com/GNOME/gimp.git
app: rename gimp_display_shell_draw_area() to draw_image()
This commit is contained in:
parent
2ef259cd20
commit
42e137fc74
|
@ -2298,11 +2298,11 @@ gimp_display_shell_canvas_expose_image (GimpDisplayShell *shell,
|
|||
gdk_region_get_rectangles (image_region, &rects, &n_rects);
|
||||
|
||||
for (i = 0; i < n_rects; i++)
|
||||
gimp_display_shell_draw_area (shell, cr,
|
||||
rects[i].x,
|
||||
rects[i].y,
|
||||
rects[i].width,
|
||||
rects[i].height);
|
||||
gimp_display_shell_draw_image (shell, cr,
|
||||
rects[i].x,
|
||||
rects[i].y,
|
||||
rects[i].width,
|
||||
rects[i].height);
|
||||
|
||||
g_free (rects);
|
||||
cairo_restore (cr);
|
||||
|
|
|
@ -700,12 +700,12 @@ gimp_display_shell_draw_cursor (GimpDisplayShell *shell,
|
|||
}
|
||||
|
||||
void
|
||||
gimp_display_shell_draw_area (GimpDisplayShell *shell,
|
||||
cairo_t *cr,
|
||||
gint x,
|
||||
gint y,
|
||||
gint w,
|
||||
gint h)
|
||||
gimp_display_shell_draw_image (GimpDisplayShell *shell,
|
||||
cairo_t *cr,
|
||||
gint x,
|
||||
gint y,
|
||||
gint w,
|
||||
gint h)
|
||||
{
|
||||
gint x2, y2;
|
||||
gint i, j;
|
||||
|
|
|
@ -65,7 +65,7 @@ void gimp_display_shell_draw_vectors (GimpDisplayShell *shell,
|
|||
cairo_t *cr);
|
||||
void gimp_display_shell_draw_cursor (GimpDisplayShell *shell,
|
||||
cairo_t *cr);
|
||||
void gimp_display_shell_draw_area (GimpDisplayShell *shell,
|
||||
void gimp_display_shell_draw_image (GimpDisplayShell *shell,
|
||||
cairo_t *cr,
|
||||
gint x,
|
||||
gint y,
|
||||
|
|
Loading…
Reference in New Issue