diff options
author | Mattias Andrée <maandree@kth.se> | 2016-12-04 15:04:53 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-12-04 15:04:53 +0100 |
commit | ed49195d934e17456f70de78b7c56984300509dc (patch) | |
tree | af1e84730308527587181b5423493564fc03e2b5 | |
parent | typo (diff) | |
download | cg-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>
-rw-r--r-- | src/cg-query.c | 9 |
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) |