summaryrefslogtreecommitdiffstats
path: root/colornam.txi
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
committerBryan Newbold <bnewbold@robocracy.org>2017-02-20 00:05:31 -0800
commit5145dd3aa0c02c9fc496d1432fc4410674206e1d (patch)
tree540afc30c51da085f5bd8ec3f4c89f6496e7900d /colornam.txi
parent8466d8cfa486fb30d1755c4261b781135083787b (diff)
downloadslib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.tar.gz
slib-5145dd3aa0c02c9fc496d1432fc4410674206e1d.zip
Import Upstream version 3a2upstream/3a2
Diffstat (limited to 'colornam.txi')
-rw-r--r--colornam.txi6
1 files changed, 6 insertions, 0 deletions
diff --git a/colornam.txi b/colornam.txi
index f72167b..bc70632 100644
--- a/colornam.txi
+++ b/colornam.txi
@@ -12,6 +12,7 @@ through the @code{grey} procedure:
Returns @code{(inexact->exact (round (* k 2.55)))}, the X11 color
grey@i{<k>}.
@end defun
+
@noindent
A color dictionary is a database table relating @dfn{canonical}
@cindex canonical
@@ -28,6 +29,7 @@ Returns a downcased copy of the string or symbol @var{name} with
@samp{_}, @samp{-}, and whitespace removed.
@end defun
+
@defun color-name->color name table1 table2 @dots{}
@@ -36,6 +38,7 @@ canonical form of @var{name} in @var{table1}, @var{table2}, @dots{} in order; re
color-string of the first matching record; #f otherwise.
@end defun
+
@defun color-dictionaries->lookup table1 table2 @dots{}
@@ -45,6 +48,7 @@ in @var{table1}, @var{table2}, @dots{}; returning the color-string of the first
record; and #f otherwise.
@end defun
+
@defun color-dictionary name rdb base-table-type
@@ -61,6 +65,7 @@ database file; and the symbol @var{name} a table therein. @code{color-dictionar
read-only table @var{name} in database @var{name} if it exists; #f otherwise.
@end defun
+
@defun load-color-dictionary name rdb base-table-type
@@ -73,3 +78,4 @@ to a lookup procedure for the color dictionary @var{name} in @var{rdb}.
The value returned by @code{load-color-dictionary} is unspecified.
@end defun
+