summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/canvas.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-03-01 23:43:56 +0000
committerTavian Barnes <tavianator@gmail.com>2009-03-01 23:43:56 +0000
commit5ac6158f8ff999d4db18fb805c02b5c733e75ddb (patch)
treec595048bae6b2860ef5264e1096eaac8c25b7f52 /libdimension/dimension/canvas.h
parentef4dbe789201bcb92596a67eb3fb3f3f03a09b49 (diff)
downloaddimension-5ac6158f8ff999d4db18fb805c02b5c733e75ddb.tar.xz
Use CIE xyY internally, rather than CIE XYZ.
Diffstat (limited to 'libdimension/dimension/canvas.h')
-rw-r--r--libdimension/dimension/canvas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/canvas.h b/libdimension/dimension/canvas.h
index 251c64a..8959e12 100644
--- a/libdimension/dimension/canvas.h
+++ b/libdimension/dimension/canvas.h
@@ -27,8 +27,8 @@
/* 48-bit sRGB color for pixels. */
typedef struct {
- uint16_t r, g, b;
- uint16_t a, t;
+ uint16_t r, g, b; /* Red, green, blue */
+ uint16_t a, t; /* Filtered transparancy, normal transparancy */
} dmnsn_pixel;
dmnsn_pixel dmnsn_pixel_from_color(dmnsn_color color);