GET_NAMED_COLOR Function

Usage

Input Parameters

Input Keywords

Output Keywords

Returned Value

Discussion

Managing the Color Table

Figure A-1 A color is retrieved by GET_NAMED_COLOR in the JWAVE wrapper. When LOAD_JWAVECT is called, the named color is loaded into a subset of the specified color table. All remaining colors in the color table are available for use by images.
Figure A-2 Named colors occupy a subset of the color table.
Example 1-1

Notes and Restrictions


TIP: To create a default color, supply a long integer containing red, green, and blue components of the desired color. For example, the color chartreuse is represented by red=127, green=255, and blue=0 (in hex, 7F, FF, and 00). To create this color, use '00ff7f'xL as a constant. In an equation, you can form this constant using PV-WAVE expressions such as:

Examples

See Also





Copyright © 1999, Visual Numerics, Inc. All rights reserved.