On Sat, 2012-03-31 at 13:18 -0700, Josh Andler wrote:
On Sat, Mar 31, 2012 at 11:47 AM, Veronika <vmi@...2827...> wrote:
- Extend support in gradient to non-linear interpolations. Currently
gradients are linear - amount of change at each "step" is the same everywhere between the two endpoints, like a constant velocity. In contrast, the changes could begin slowly and an increase towards the end, like constant acceleration (or inversely, start fast and decrease, like deceleration), or the acceleration could be variable and follow a curve such as a sine curve or exponential curve.
Would such a change be compatible with the SVG specification? I'm legitimately asking because I haven't read that part in years (and don't have the time to right now). One thing you need to be wary of is making arbitrary changes in Inkscape that aren't supported by the SVG spec. We have plenty of features that aren't in the SVG spec, however, we need to have proper fallbacks to ensure we are doing things in a compatible way for other renderers.
Only linear gradient interpolations are defined in the specification at the moment. I know Chris Lilley has talked about expanding the ways interpolations can be defined but I don't see that in the list of SVG2 requirements.[1] Clearly Inkscape can simulate more complex interpolations by adding more stops.
Tav
[1]http://www.w3.org/Graphics/SVG/WG/wiki/SVG2_Requirements_Commitments