(PECL ps:1.1.0-1.3.5)
ps_closepath — Closes path
Connects the last point with the first point of a path. The resulting path can be used for stroking, filling, clipping, etc..
Resource identifier of the postscript file as returned by ps_new().
Returns TRUE on success or FALSE on failure.