NextPrevUpTopContentsIndex

unconvert-color

Function
Summary

Returns a color specification for a color representation.

Package

color

Signature

unconvert-color port color-rep => color

Arguments

port

A graphics port.

color-rep

A color representation on port .

Values

color

A color specification.

Description

The function unconvert-color returns a color specification corresponding to the color representation color-rep on the Graphics Port port .

If color-rep is a color specification, a symbol or a color alias, then it is simply returned since the color system can interpret these directly.

Otherwise color-rep is asumed to be a color representation on port , like those returned by convert-color and image-access-pixel, and a corresponding RGB value is returned.

See also

convert-color
image-access-pixel

 


LispWorks CAPI Reference Manual - 17 Mar 2008

NextPrevUpTopContentsIndex