From ed49195d934e17456f70de78b7c56984300509dc Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 4 Dec 2016 15:04:53 +0100 Subject: cg-query: print white point MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/cg-query.c | 9 ++++++--- 1 file 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) -- cgit v1.2.3-70-g09d2