W3C home > Mailing lists > Public > www-svg@w3.org > June 2018

Re: Fwd: Re: Rectangle height and width

From: Boris Dalstein <dalboris@gmail.com>
Date: Tue, 12 Jun 2018 13:31:48 +0200
To: Fuzzy Ma <ulima.ums@gmail.com>, <www-svg@w3.org>
Message-ID: <163f3c420b8.27ad.81a5e274f891a72dbe0ef0731e7f9e61@gmail.com>
Hi all,

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.

Best Regards,
Boris
https://vgc.io

On June 12, 2018 11:21:00 AM Fuzzy Ma <ulima.ums@gmail.com> wrote:
> Since you ignored the rest of my mail were i started to explain what i 
> said, I think I am better off by just not arguing any further.
> Getting around your issue is super simple as i laid out and there are 
> enough other reasons left to discuss.
>
> Best regards
> Ulrich-Matthias
>
> PS: width is NO direction!!
>
>> Am 12.06.2018 10:34 schrieb "Steven Pemberton" <steven.pemberton@cwi.nl>:
>>>
>>> On Sun, 10 Jun 2018 14:22:33 +0200, Fuzzy Ma <ulima.ums@gmail.com> wrote:
>>>
>>>> I remember, that I came across the same issue and therefore I must kinda 
>>>> agree, that this would make coding a little bit easier at some points, BUT:
>>>>
>>>> In my opinion allowing negative widths and heights does not make sense.
>>>> There is nothing such negative space as well as their is nothing like 
>>>> negative time.
>>>
>>>
>>> This is just not true!
>>>
>>> There are negative times (we get one once a year when we move from DST to 
>>> Winter time). There are negative weights. There are negative distances, 
>>> speeds, amounts of money.
>>>
>>> And spaces.
>>>
>>> If I subtract a positive area from a positive area it is *exactly the same* 
>>> as adding a negative area.
>>>
>>> It shocks me that I have to explain this to computer scientists in the 21st 
>>> century.
>>>
>>> It also amazes me that I have to rewrite programs because SVG doesn't 
>>> accept fully that there are positive and negative directions...
>>>
>>> Best wishes,
>>>
>>> Steven Pemberton
>>>
>>>
Received on Tuesday, 12 June 2018 11:32:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:55:14 UTC