Re: Fwd: Re: Rectangle height and width

On Tue, Jun 12, 2018 at 4:33 AM Boris Dalstein <dalboris@gmail.com> wrote:
> Just adding my vote here: I'm 200รท with Steven here: it makes no sense to me to restrict width and height to be positive. I have both a degree in pure math and a PhD in Computer Science. APIs are not theoretical math: they are useful tools to create content. Allowing sizes to be negative has many use cases for artists without always an easy workaround (due to interpolation, timing, etc.). Many (most?) 2D API framworks allow rectangle sizes to be negative. There are no downsides that I know of not allowing it, and it's generally trivial to implement.

There are fatal problems which Amelia and I have pointed out which
make this currently impossible without changing other aspects of how
we're designing the platform.  "Just make it to go the other way" is
the obvious interpretation of a negative width, yes, but *specifying*
a negative width has severe issues in current SVG.

~TJ

Received on Tuesday, 12 June 2018 17:46:53 UTC