pdb, libgimp: change the gimp-drawable-invert API again

Remove the invert-linear and invert-non-linear variants and simply add
"gboolean linear" to gimp-drawable-invert. This should actually be an
enum but I didn't find a good name right now...
This commit is contained in:
Michael Natterer
2017-09-03 21:28:47 +02:00
parent 3007193704
commit e6c1c14a94
15 changed files with 59 additions and 165 deletions

View File

@ -112,7 +112,7 @@
(- theWidth inSize) (- theHeight inSize) TRUE)
(gimp-drawable-desaturate theLayer DESATURATE-LIGHTNESS)
(gimp-drawable-brightness-contrast theLayer 0.5 0.5)
(gimp-drawable-invert-non-linear theLayer)
(gimp-drawable-invert theLayer FALSE)
(gimp-layer-resize theLayer
theWidth
theHeight