diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2016-01-05 20:29:12 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2016-01-05 20:29:12 +0100 |
commit | 5fc891fa4214cdeb7f01be274198711c716b29cd (patch) | |
tree | c0196d6029dc7a640347c8ef729c4e23edadab96 /doc/info/chap/constants.texinfo | |
parent | m (diff) | |
download | libred-5fc891fa4214cdeb7f01be274198711c716b29cd.tar.gz libred-5fc891fa4214cdeb7f01be274198711c716b29cd.tar.bz2 libred-5fc891fa4214cdeb7f01be274198711c716b29cd.tar.xz |
m + texinfo manual
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'doc/info/chap/constants.texinfo')
-rw-r--r-- | doc/info/chap/constants.texinfo | 47 |
1 files changed, 47 insertions, 0 deletions
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{<libred.h>} 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 + |