app: implement circle handles

This commit is contained in:
Michael Natterer
2010-09-22 23:58:42 +02:00
parent ddcd5a6983
commit f719cf1ea2

View File

@ -330,9 +330,15 @@ gimp_canvas_handle_draw (GimpCanvasItem *item,
break;
case GIMP_HANDLE_CIRCLE:
cairo_arc (cr, x, y, private->width / 2, 0, 2 * G_PI);
_gimp_canvas_item_stroke (item, shell, cr);
break;
case GIMP_HANDLE_FILLED_CIRCLE:
cairo_arc (cr, x, y, (gdouble) private->width / 2.0, 0, 2 * G_PI);
_gimp_canvas_item_fill (item, shell, cr);
break;
case GIMP_HANDLE_CROSS: