On 12/05/2013 06:25 PM, Steve Teale wrote:
On Tue, 03 Dec 2013 22:26:50 +0100, Mike Wey wrote:
On 12/03/2013 06:10 AM, Steve Teale wrote:
RGBA t = new RGBA();
writeln(t.toString());rgba(-2147483648,-2147483648,-2147483648,nan)
It looks like i'll need to set some default values in the default
constructor, Gdk's toString function doesn't handle NAN's properly.I think the appropriate values are opaque black - 0,0,0,1 - but it's an interesting question.
With Gdk the default values are 0,0,0,0 because they rely on the default
value of a double. If thats a sane default is an other question.
Where do you live?
The Netherlands.
Steve