Commit Graph

4 Commits

Author SHA1 Message Date
5f700549e7 Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
Ell
5970046e25 app: use gradient cache for conical gradients
Add gimp_drawable_gradient_adjust_coords(), which adjusts the
gradient segment coords according to the gradient type, so that, in
cases where the gradient span is unrelated to the segment length,
the gradient cache (in GimpOperationGradient) is big enough not to
produce banding.  Use the new function in gimp_drawable_gradient()
and in the gradient tool, instead of duplicating the logic.

Move the shapreburst coordinate-adjustment logic to the new
function, and add appropriate logic for conical gradients.

Remove the code that avoids using the gradient cache for conical
gradients from GimpOperationGradient.
2018-04-25 14:05:19 -04:00
721ce91d75 Bug 795230 - Rename Blend tool and provide PDB compatibility
Redo the part of commits 4f2e078ccb
and 5f6dfc7617, reverted by commit
e30a32d56e.
2018-04-15 03:30:07 -04:00
9fd44d5e44 Bug 795230 - Rename Blend tool and provide PDB compatibility
Rename gimpdrawable-blend.h to gimpdrawable-gradient.h.  Note that
this commit only renames the file; the actual changes are done in
the next commit, so that git doesn't consider this a new file.
2018-04-15 03:30:05 -04:00