diff --git a/ChangeLog b/ChangeLog index a1008ca857..69f1a07000 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-11-16 DindinX + + * plug-ins/gfig/gfig-dialog.c: implemented the gradient fill, using a + shapeburst blend. This is very slow, but I dont see how it could be + done otherwise. + 2004-11-16 Michael Natterer * app/widgets/gimpfgbgeditor.c: get rid of the diff --git a/plug-ins/gfig/gfig-dialog.c b/plug-ins/gfig/gfig-dialog.c index e6e6fe846a..b279c25583 100644 --- a/plug-ins/gfig/gfig-dialog.c +++ b/plug-ins/gfig/gfig-dialog.c @@ -1704,7 +1704,21 @@ paint_layer_fill (void) fill_mode = GIMP_PATTERN_BUCKET_FILL; break; - default: + case FILL_GRADIENT: + gimp_edit_blend (gfig_context->drawable_id, + GIMP_CUSTOM_MODE, + GIMP_NORMAL_MODE, + GIMP_GRADIENT_SHAPEBURST_DIMPLED, + 100.0, /* opacity */ + 0.0, /* offset */ + GIMP_REPEAT_NONE, + FALSE, /* reverse */ + FALSE, /* supersampling */ + 0, /* max_depth */ + 0.0, /* threshold */ + FALSE, /* dither */ + 0.0, 0.0, /* (x1, y1) - ignored */ + 0.0, 0.0); /* (x2, y2) - ignored */ return; }