MPE_Make_color_array

--- Makes an array of color indices

Input Parameters

handle
MPE graphics handle
nc
Number of colors

Output Parameter

array
Array of color indices

Notes

The new colors for a uniform distribution in hue space and replace the existing colors EXCEPT for MPE_WHITE and MPE_BLACK.

Synopsis


#include 
#include "mpe.h"
int MPE_Make_color_array( handle, ncolors, array )
MPE_XGraph handle;
int        ncolors;
MPE_Color  array[];

Location: mpe_graphics.c