Re: [css3-images] Helping implementers with math

On 6/18/13 12:54 PM, Boris Zbarsky wrote:
> On 6/18/13 12:46 PM, Simon Sapin wrote:
>>      <code>abs(W * sin(A)) + abs(H * cos(A))</code>
>
> I feel like I must be missing something, since it looks to me like for A
> == 0 the correct answer for "half the size of the gradient line" is H/2...

Ah, I think you just gave the formula for the size of the gradient line, 
not for half of it.

-Boris

Received on Tuesday, 18 June 2013 16:58:29 UTC