implemented the gradient fill, using a shapeburst blend. This is very

* 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.
This commit is contained in:
David Odin 2004-11-16 19:36:30 +00:00
parent fb87f44701
commit 8124795437
2 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-11-16 DindinX <dindinx@gimp.org>
* 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 <mitch@gimp.org>
* app/widgets/gimpfgbgeditor.c: get rid of the

View File

@ -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;
}