Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

XdSetShadeRange(3X)  —  Kubota Pacfic Computer Inc. (X Direct Graphics)

NAME

XdSetShadeRange − specify parameters for mapping RGB value

SYNOPSIS

void XdSetShadeRange(wh, weights, shade_min, shade_max)
      WindowHandle   ∗wh;
      double         ∗weights;
      int             shade_min, shade_max;

wh Specifies the window to draw into

weights Weighting factors for RG and B

shade_min, shade_max Minimum and maximum entries in the colormap

USAGE

Use XdSetShadeRange to specify the weights and min and max entries in the color map for mapping RGB values to color indices using shade range color approximation. 

September 02, 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026