From 5fc891fa4214cdeb7f01be274198711c716b29cd Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 5 Jan 2016 20:29:12 +0100 Subject: m + texinfo manual MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/chap/constants.texinfo | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 doc/info/chap/constants.texinfo (limited to 'doc/info/chap/constants.texinfo') diff --git a/doc/info/chap/constants.texinfo b/doc/info/chap/constants.texinfo new file mode 100644 index 0000000..e5e09ac --- /dev/null +++ b/doc/info/chap/constants.texinfo @@ -0,0 +1,47 @@ +@node Constants +@chapter Constants + +@file{} defines a number of symbolic constants +suitable for using a @code{#if} preprocessing directives. + +@table @code +@item LIBRED_SOLAR_APPARENT_RADIUS +The approximate apparent size of the Sun in degrees. +This value should be about 0.5(3). + +@item LIBRED_SOLAR_ELEVATION_SUNSET_SUNRISE +The Sun's elevation at sunset and sunrise, measured in +degrees. This value will always be 0.0. + +@item LIBRED_SOLAR_ELEVATION_CIVIL_DUSK_DAWN +The Sun's elevation at civil dusk and civil dawn, measured +in degrees. This value will always be @math{-6.0}. + +@item LIBRED_SOLAR_ELEVATION_NAUTICAL_DUSK_DAWN +The Sun's elevation at nautical dusk and nautical dawn, +measured in degrees. This value will always be @math{-12.0}. + +@item LIBRED_SOLAR_ELEVATION_ASTRONOMICAL_DUSK_DAWN +The Sun's elevation at astronomical dusk and astronomical +dawn, measured in degrees. This value will always be @math{-18.0}. + +@item LIBRED_HIGHEST_TEMPERATURE +The highest temperature, in kelvins, for which there is a +colour temperature in the table of colour temperature. Any +temperature above this is automatically truncated by +@code{libred_get_colour}, as higher values shall be +unnoticeable. Currently, this value is 40@tie{}000. + +@item LIBRED_LOWEST_TEMPERATURE +The lowest temperature, in kelvins, for which there is a +colour temperature in the table of colour temperature. Any +temperature below this results in @code{libred_get_colour} +failing and setting @code{errno} to @code{EDOM}. Currently +this value 1000, hypothetical changes will be very small. + +@item LIBRED_DELTA_TEMPERATURE +The temperatures differences between sequential colour +temperatures in the colour temperatures look up table. +Currently this value is 100. +@end table + -- cgit v1.2.3-70-g09d2