From 2365e07c7226a1c3df702747378a0607d91fd995 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 20 Feb 2014 08:28:30 +0100 Subject: m doc + applying adjustments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/blueshift.texinfo | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'info') diff --git a/info/blueshift.texinfo b/info/blueshift.texinfo index a35044c..c376669 100644 --- a/info/blueshift.texinfo +++ b/info/blueshift.texinfo @@ -450,6 +450,24 @@ All these functions return lists with the three colour components, not tuples. Input and output is one colour instance. +To apply a colour curve to the display +server, invoke the @code{randr} function; +@code{print_curves} can be used to print +the curves to stdout instead (for debugging). +These functions apply the curves to all +monitors, put you can also use select monitors +by specifying each monitor in as separate +arguments. The monitors are indexed from zero. + +If you want to write your own curve flushing +fucntion @code{translate_to_integers} can be +used, it returned the colour curves converted +from floating point lists to integer lists in +a tuple of three (red, green and blue.) Replace +the parameterless function @code{close_c_bindings} +to make it free all used resource, this is +invoked when Blueshift exits. + @node GNU Free Documentation License @appendix GNU Free Documentation License -- cgit v1.2.3-70-g09d2