https://bugs.documentfoundation.org/show_bug.cgi?id=107787

--- Comment #40 from Mike Kaganski <[email protected]> ---
(In reply to Regina Henschel from comment #36)
> So you suggest to always use "automatic" in case the gradient has more than
> two color stops?
> 
> The current behavior is, that in case there are more than two color stops
> and the user has set an Increment value, the stepped rendering is applied
> individually to each part between two adjacent stops.

The stepped gradients are IMO a mutually exclusive alternative to multi-color
gradients (which define their own steps, and allow to create the same effect,
if needed). Having it either-or is correct, I believe.

> I see the following solutions. Which would do you prefer?
> (A) The current css.awt.Gradient struct from the API contains the Increment
> as StepCount component, whereas the gradient definition in the
> <draw:gradient> in ODF has no corresponding attribute. Currently the XML of
> the palette uses the ODF definition directly. Because the XML of the palette
> is our own format we could change it without impacts to ODF. Of course, this
> is not to be had for free; it requires a developer to donate his free time
> to it.

This is the preferred one. The UI is orthogonal to the file format. The effort
is a different thing; the idea that we should reject some improvement because
it needs an effort is not correct (well, it may happen not too soon, but that
doesn't matter).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to