Next Previous Up Top Contents Index

4.3 DUIM-DCs Module

contrasting-colors-limit

Generic function

Summary

Returns the number of contrasting colors that can be rendered on the current platform.

Signature

contrasting-colors-limit port => integer

Arguments

port
An instance of type <port>.

Values

integer
An instance of type <integer>.

Library

duim-dcs

Module

duim-dcs

Description

Returns the number of contrasting colors (or stipple patterns if port is monochrome or grayscale) that can be rendered on any medium on the port port. Implementations are encouraged to make this as large as possible, but it must be at least 8. All classes that obey the medium protocol must implement a method for this generic function.

See also

contrasting-dash-patterns-limit, page 140

make-contrasting-colors, page 161


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index