All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

dither-color-spec Function

Summary

Returns t if the color specification for a given pixel should result in a pixel that is on in a 1 bit dithered bitmap.

Package

graphics-ports

Signature

dither-color-spec rgb-color-spec y x => result

Arguments
rgb-color-spec
An RGB specification.
An integer.
An integer.
Values
result
A boolean.
Description

The function dither-color-spec returns t if rgb-color-spec should result in a pixel that is on at the point (x y) in a 1-bit dithered bitmap. The current set of dithers is used in the decision.

Notes

dither-color-spec is deprecated. Dithers do not affect drawing or the anti-aliasing that occurs when drawing in Cocoa.

See also

initialize-dithers
make-dither
with-dither


CAPI User Guide and Reference Manual (Windows version) - 01 Dec 2021 19:34:15