LispWorks 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.

Note: dithers do not affect drawing or the antialiasing that occurs when drawing in Cocoa.

See also

initialize-dithers
make-dither
with-dither


LispWorks CAPI Reference Manual - 21 Dec 2009

NextPrevUpTopContentsIndex