app: port GimpDisplayShell guide drawing to cairo
The cairo_t code in GimpMoveTool is still disgusting. This probably needs some GimpTool API that creates a cairo_t for tools.
This commit is contained in:
@ -28,11 +28,11 @@ void gimp_display_shell_draw_get_scaled_image_size_for_scale
|
||||
gint *w,
|
||||
gint *h);
|
||||
void gimp_display_shell_draw_guide (GimpDisplayShell *shell,
|
||||
cairo_t *cr,
|
||||
GimpGuide *guide,
|
||||
const GdkRectangle *area,
|
||||
gboolean active);
|
||||
void gimp_display_shell_draw_guides (GimpDisplayShell *shell,
|
||||
const GdkRegion *region);
|
||||
cairo_t *cr);
|
||||
void gimp_display_shell_draw_grid (GimpDisplayShell *shell,
|
||||
cairo_t *cr);
|
||||
void gimp_display_shell_draw_pen (GimpDisplayShell *shell,
|
||||
|
Reference in New Issue
Block a user