Generated: June 1, 2002, 16:56:02 | Copyright ©2002, Kurt Nørmark | ![]() |
Master index
Source file: lib/color.scm
LAML Version 17.10 (June 1, 2002) full
|
|
|
1. PRIMARY COLOR ENCODING FUNCTION.
The function in this section works with both the new and the old way or representing colors.
I.e, both with a color like '(255 0 0) which is the old way, and '(rgb-color 255 0 0), which is the new way.
rgb-color-encoding
Form |
|
Description |
|
Example |
|
Example |
|
Example |
|
Example |
|
Example |
|
Example |
|
Example |
|
2. SECONDARY COLOR ENCODING FUNCTIONS.
The functions in this section only work with the old version of the color representation.
This the untagged list representation, such as '(255 0 0).
rgb
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Parameters |
|
Form |
|
Description |
|
Form |
|
Description |
|
Parameters |
|
3. COLOR CONSTRUCTOR, PREDICATE, AND SELECTORS.
The function make-color is an old version of the constructor, currently used
by most of the LAML software. The function make-rgb-color is new version with a tagged representation.
The predidate and the selectors only work with make-rgb-color.
make-color
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
4. COLOR CONSTANTS.
All color constant return the old representation of the color.
red
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
Form |
|
Description |
|
5. NUMBER CONVERTING.number-in-base
Form |
|
Description |
|