W3C home > Mailing lists > Public > www-style@w3.org > September 2010

Re: Linear gradients, Transforms and angles...

From: Brendan Kenny <bckenny@gmail.com>
Date: Mon, 20 Sep 2010 16:43:17 -0500
Message-ID: <AANLkTims5EXcHno-vdwsf=mHkThBYUsfszLobot=EMp2@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Chris Marrin <cmarrin@apple.com>, Brad Kemper <brad.kemper@gmail.com>, Simon Fraser <smfr@me.com>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>, "L. DavidBaron" <dbaron@dbaron.org>, www-style list <www-style@w3.org>
On Mon, Sep 20, 2010 at 4:07 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:
> On Mon, Sep 20, 2010 at 2:01 PM, Chris Marrin <cmarrin@apple.com> wrote:
>> Where rotations "start" is a matter of convention. Analog clocks start at 12 o'clock (bottom to top), In geometry, a 0 degree rotation is typically represented by a vector along the positive X axis. But again, that's all convention.
>
> Note that the default rotation direction between analog clocks and
> geometry are opposite.
>
> ~TJ

That's true, but the CSS (and SVG) coordinate systems have positive y
pointing downwards -- vertically reflecting the usual Cartesian system
-- so to match the rotation convention, positive angles should rotate
clockwise.
Received on Monday, 20 September 2010 21:43:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:31 GMT