W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: [css3-images] simplifying radial gradients

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 11 Oct 2011 12:24:39 -0700
Message-Id: <57E5A8C0-446E-4B20-8538-4F21E9E12809@gmail.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, Sylvain Galineau <sylvaing@microsoft.com>, Alan Gresley <alan@css-class.com>, "L. David Baron" <dbaron@dbaron.org>, "www-style@w3.org" <www-style@w3.org>
To: Brian Manthos <brianman@microsoft.com>
OK. I think I was seeing some rounding to a pixel before, because I recall .7 falling short sometimes. Working from memory while typing into phone. 


Brad Kemper

On Oct 11, 2011, at 11:05 AM, Brian Manthos <brianman@microsoft.com> wrote:

> 0.707 = (1 / sqrt(2))
> 
> -Brian
> 
>> -----Original Message-----
>> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
>> Behalf Of Brad Kemper
>> Sent: Tuesday, October 11, 2011 10:11 AM
>> To: Tab Atkins Jr.
>> Cc: Sylvain Galineau; Alan Gresley; Brian Manthos; L. David Baron; www-
>> style@w3.org
>> Subject: Re: [css3-images] simplifying radial gradients
>> 
>> 
>> On Oct 11, 2011, at 9:58 AM, Tab Atkins Jr. wrote:
>> 
>>>> IIRC, converting them is a matter of multiplying by 1.72 (or
>> thereabouts).
>>> 
>>> 1.41, which is approximately sqrt(2).
>> 
>> Right, my mistake. Converting the other direction is somewhere around
>> .72 or .71.
> 
> 
Received on Tuesday, 11 October 2011 19:25:28 GMT

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