NAME
MputGreyPalette - put the grey palette
SYNOPSIS
#include "csf.h"
int MputGreyPalette
(
MAP *m,
UINT2 *pal,
size_t nrTupels
);
PARAMETERS
-
MAP *m
-
the map to get it from
-
UINT2 *pal
-
the new grey palette
-
size_t nrTupels
-
the number of UINT2 words tupels of pal
DESCRIPTION
MputColourPalette writes the pal argument that is filled
with a number of grey tupels
of the grey palette. Each tupel is one UINT2
words describing the intensity: low, 0 is black, high is white.
An existing grey palette is overwritten.
RETURNS
0 if not available or in case of error,
nonzero otherwise
SEE ALSO
MgetHistorySize
,
MgetDescriptionSize
,
MgetNrColourPaletteEntries
,
MgetNrGreyPaletteEntries
,
MgetDescription
,
MgetHistory
,
MgetColourPalette
,
MgetGreyPalette
,
MputDescription
,
MputHistory
,
MputColourPalette