Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/gipsy/sub/grxrgb.dc3
Дата изменения: Wed Oct 31 05:16:05 2001
Дата индексирования: Fri Jan 16 01:25:58 2009
Кодировка:
Name: GRXRGB

Purpose: convert HLS color to RGB color

Category: GRAPHICS

File: pgplot.src

Author: T.J. Pearson

Use: see description below.

Description:

SUBROUTINE GRXRGB (H,L,S,R,G,B)

GRPCKG: Convert a color specified in the HLS color model to one in
the RGB model. This is a support routine: no graphics I/O occurs.
The inverse transformation is accomplished with routine GRXHLS.
Reference: SIGGRAPH Status Report of the Graphic Standards Planning
Committee, Computer Graphics, Vol.13, No.3, Association for
Computing Machinery, New York, NY, 1979.

Arguments:

H,L,S (real, input): hue (0 to 360), lightness (0 to 1.0), and
saturation (0 to 1.0).
R,G,B (real, output): red, green, blue color coordinates, each in the
range 0.0 to 1.0.

Updates: Oct 16, 1998: JPT automatically extracted from source.