DOKK / manpages / debian 12 / pslib-dev / PS_makespotcolor.3.en
PS_MAKESPOTCOLOR(3) Library Functions Manual PS_MAKESPOTCOLOR(3)

PS_makespotcolor — Create a spotcolor

#include <pslib.h>

int PS_makespotcolor(PSDoc *psdoc, const char *name, int reserved)

Creates a spot color from the current fill color. The fill color must be a gray, rgb, or cmyk color. The spot color id returned by this functions must be passed to PS_setcolor(3) as the fourth parameter.

The id of the new spot color or 0 in case of an error.

PS_setcolor(3)

This manual page was written by Uwe Steinmann uwe@steinmann.cx.