Creates a pattern based on a shading, which has to be created before with ps_shading. Shading patterns can be used like regular patterns.
Resource identifier of the postscript file as returned by ps_new.
The identifier of a shading previously created with ps_shading.
This argument is not currently used.
The identifier of the pattern or false on failure.