Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ DngshblPxls(3X) — DeltaWindows 1.3.3 Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

 

NAME

XmuDistinguishablePixels — determine if colormap cells contain visibly different colors. 

SYNOPSIS

Bool XmuDistinguishablePixels(dpy, cmap, pixels, count)
    Display ∗dpy;
    Colormap cmap;
    unsigned long ∗pixels;
    int count;

ARGUMENTS

dpySpecifies the display. 

cmapSpecifies the colormap. 

pixelsAn array of colormap cells to be tested for distinguishablity. 

countThe number of cells in the pixels array. 

AVAILABILITY

Release 5 and later. 

DESCRIPTION

This function returns True if and only if the colors in the colormap cells specified by the pixels array are "distinguishable" from one another.  There is no formal definition for "distinguishable," and this function does not make use of device independent color, so the algorithm used is somewhat arbitrary.  Note that there is no Xmu header file that declares this function, so the declaration should be done explictly. 

SEE ALSO

XmuDistinguishableColors. 

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