[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: color.el
From: |
Miles Bader |
Subject: |
Re: color.el |
Date: |
Sun, 20 Feb 2011 10:10:49 +0900 |
Chong Yidong <address@hidden> writes:
> 2. Returning HUE in [0,1], rather than radians, by default.
>
> If we do this, I'd rather not add a separate *-radians function; we
> should just decide on whether Emacs should represent hue as [0,1], as
> radians, or as [0,360], and use that everywhere.
>
> For what it's worth, the Gimp, the Java color library, and the
> Eclipse API all use [0,360]. Maybe we should do follow suit. Any
> objections?
Radians seem cleaner; an argument range of 0-360 only seems useful if an
interface is primarily user-level (e.g. a spec in a web page or something).
-miles
--
Run away! Run away!