All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

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

Arguments

rgb-color-spec

An RGB specification.

y

An integer.

x

An integer.

Values

result

A boolean.

Description

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

Notes

Dithers do not affect drawing or the anti-aliasing that occurs when drawing in Cocoa.

See also

initialize-dithers
make-dither
with-dither


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex