|
701e76c381
|
colour: move json deserialisation into cpp
|
2015-09-08 14:32:17 +10:00 |
|
|
2658b41ea1
|
relicence under Apache-2.0
|
2015-04-13 18:05:28 +10:00 |
|
|
a7f96a127d
|
colour: add hsv/rgb conversions
|
2015-04-09 21:50:42 +10:00 |
|
|
7307d73bbc
|
colour: add html and x11 string lookup
|
2015-04-09 20:46:55 +10:00 |
|
|
0d1fb0147e
|
colour: add generic ostream operators
|
2015-04-09 20:44:54 +10:00 |
|
|
532dc415a4
|
colour: allow arbitrary colour dimensions
|
2015-04-09 18:00:40 +10:00 |
|
|
cfc0f8ecd0
|
json: move tree parsing code to json::tree
|
2015-02-02 21:26:56 +11:00 |
|
|
ccc21b2ae8
|
colour: derive from detail::coord
|
2015-01-13 18:41:51 +11:00 |
|
|
25f21a66e4
|
colour: rename variables to r,g,b,a
for consistency with coord types
|
2015-01-13 10:50:12 +11:00 |
|
|
6f23e39459
|
colour: use floats for values
double is way too much precision for almost every application. we can
always add more templates or other insanity later.
|
2014-12-16 15:12:44 +11:00 |
|
|
b4dda9b9fa
|
Move ostream operators into global namespace
|
2013-08-05 16:37:11 +10:00 |
|
|
745568db87
|
Add red/green/blue static colour definitions
|
2013-07-30 23:50:37 +10:00 |
|
|
c6106b0f53
|
Add static WHITE and BLACK colour constants
|
2012-06-13 14:41:19 +10:00 |
|
|
393d380001
|
Remove unnecessary scalar product for colour
|
2012-06-13 14:41:02 +10:00 |
|
|
ed990ba889
|
Move output operators into target's namespace
|
2012-04-24 18:12:07 +10:00 |
|
|
77942e008d
|
Change my email to an active domain
|
2012-04-23 13:10:50 +10:00 |
|
|
45d8cfffbf
|
Rename "to_<type>" functions to "as_<type>"
'to' implies a copy, 'as' implies reinterpret.
|
2012-04-12 16:08:06 +10:00 |
|
|
b774a6490d
|
Add scalar multiply for colour
|
2011-10-29 21:17:28 +11:00 |
|
|
d3baffc2e5
|
Add json extraction operator for colour
|
2011-10-29 21:17:10 +11:00 |
|
|
2e091079d2
|
Don't abbreviate the util::range::rand function
|
2011-10-03 19:20:14 +11:00 |
|
|
ee1439e5fc
|
Add trivial rgba colour class
|
2011-09-13 15:14:12 +10:00 |
|