                The Example Programs of the Colours Module
                ------------------------------------------

This directory contains all files related to the example programs of the
COlours Module for SUN/SUNOS.

The user can use the following makefiles to compile and link the example 
programs:

  o clrexc.mak   -- The makefile for C programs 
  o clrexf.mak   -- The makefile for Fortran programs 

Follows is the list of the C and Fortran example programs of the Colours 
Module. The start of each source program includes the explanation of purpose, 
use and installation.
 
ce_testxclr:    Tests the ce_xcolour program to convert colours between RGB, 
		CMY, CMYK, HSV, HLS, CIE XYZ, CIE LUV and CIE LAB colour spaces.

ce_xcolour:     Provides the utility functions for converting colours between 
		different colour models

ce_xcolour.h:   The C head file of the function prototypes of the ce_colour 
		module, which must be included in any C program using the
		ce_colour module

ce_indclr:	An example program of the use of workstation bundle table and 
		indexed colours in PHIGS 

ce_dirclr:	An example program of the use of direct colours in PHIGS


C examples                                      Fortran examples
----------                                      ----------------
                                                
ce_testxclr.c                                   ce_testxclr.F  
ce_xcolour.h                                    ce_xcolour.F 
ce_xcolour.c                                    ce_indclr.F
ce_indclr.c                                     ce_dirclr.F  
ce_dirclr.c
              
