Re: Fade length setting for paint dynamics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1. The "percent" setting is relative to maximal image dimension (ie. image
width or height, whichever is larger).
Ref:
https://git.gnome.org/browse/gimp/tree/app/paint/gimppaintoptions.c?h=gimp-2-8#n591
And as far as I can see it *does* work as intended - eg. Paintbrush Tool
with Dynamics=Fade Tapering, Fade length=100% will fade in/out over a
*stroke* length equal to the larger of image width and height. And pro rata
for other values of "percent". [But note that it is the maximal *image*
dimension, not *drawable* dimension.]

2. No it cannot currently be set programmatically. The fade parameters are
*dynamic options* (ie. specific to the fade dynamic), not common *paint
options* (ie. applicable to all paint tools regardless of dynamics). And
setting dynamic options is AFAIK not currently supported via PDB. IIRC this
problem has been noted before but I cannot find anything on bugzilla about
it now. Note this is a wider problem than just fade length, it requires a
generalized method of getting/setting *all* dynamic options.

On Wed, Oct 7, 2015 at 12:37 PM, Ofnuts <ofnuts@xxxxxxx> wrote:

> On 06/10/15 19:35, Joao S. O. Bueno wrote:
>
>> Sttting it programatically is likely a missing feature - it shouldbe
>> available as gimp-context-fade-set-length  -- and yes, it has nothing
>> to do with percents
>>
>>
>>
> Should I file a bug report for this?
>
> What should be done with the percent "unit" then? Remove it?
>
>
>
> _______________________________________________
> gimp-developer-list mailing list
> List address:    gimp-developer-list@xxxxxxxxx
> List membership:
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list
> List archives:   https://mail.gnome.org/archives/gimp-developer-list
>
_______________________________________________
gimp-developer-list mailing list
List address:    gimp-developer-list@xxxxxxxxx
List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list
List archives:   https://mail.gnome.org/archives/gimp-developer-list



[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux