aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-04 15:04:53 +0100
committerMattias Andrée <maandree@kth.se>2016-12-04 15:04:53 +0100
commited49195d934e17456f70de78b7c56984300509dc (patch)
treeaf1e84730308527587181b5423493564fc03e2b5 /src
parenttypo (diff)
downloadcg-tools-ed49195d934e17456f70de78b7c56984300509dc.tar.gz
cg-tools-ed49195d934e17456f70de78b7c56984300509dc.tar.bz2
cg-tools-ed49195d934e17456f70de78b7c56984300509dc.tar.xz
cg-query: print white point1.1
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r--src/cg-query.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/cg-query.c b/src/cg-query.c
index 254945d..c2e35eb 100644
--- a/src/cg-query.c
+++ b/src/cg-query.c
@@ -202,14 +202,17 @@ static int print_info(void)
if (info.have_gamut)
{
- printf("Monitor's red colour (x y): %lf, %lf\n",
+ printf("Monitor's red colour (x, y): %lf, %lf\n",
info.red_x / (double)1024, info.red_y / (double)1024);
- printf("Monitor's green colour (x y): %lf, %lf\n",
+ printf("Monitor's green colour (x, y): %lf, %lf\n",
info.green_x / (double)1024, info.green_y / (double)1024);
- printf("Monitor's blue colour (x y): %lf, %lf\n",
+ printf("Monitor's blue colour (x, y): %lf, %lf\n",
info.blue_x / (double)1024, info.blue_y / (double)1024);
+
+ printf("Monitor's white point (x, y): %lf, %lf\n",
+ info.white_x / (double)1024, info.white_y / (double)1024);
}
if (libcoopgamma_get_gamma_sync(&query, &table, &cg) < 0)