Re: Gradient syntax proposal

On Fri, 14 Aug 2009 01:35:56 +0200, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> Just linear gradients for now:
>
> http://www.xanthir.com/document/document.php?id=d65df9d10442ef96c2dfe5e1d7bbebf7aa42f2bcf24e68fc3777c4b484fa8a4ce55fed2189cac20ccad8686127f4c08917c4ca8b7614e9f89c2a950ec083a9c6

Maybe the coordinate system for angles was intentionally chosen this way  
because of consistency with Photoshop or something (I'm not familiar with  
it), but I thought I'd point out that it differs from CSS transforms  
(where positive angles are clockwise).

(The proposal doesn't specify a coordinate system, so I inferred it from  
what would make most sense given the pairings of angle intervals and  
corner starting points.)

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA

Received on Friday, 14 August 2009 11:33:39 UTC