SYNOPSIS
#include <pslib.h>
int PS_shading_pattern(PSDoc *psdoc, int shading, const char *optlist)
DESCRIPTION
This function creates a special type of pattern called a shading pattern. Shading patterns can be used like regular patterns but are made of a given shading previously created with PS_shading(3).
RETURN VALUE
Returns the identifier of the pattern or zero in case of an error. The identifier is a positiv number.