ps_translate

PECL ps >= 1.1.0
ps_translate - Sets translation
Manual
Code Examples

ps_translate( resource$psdoc, float$x, float$y ): bool

Sets a new initial point of the coordinate system.

Parameters

psdoc

Resource identifier of the postscript file as returned by ps_new.

x

x-coordinate of the origin of the translated coordinate system.

y

y-coordinate of the origin of the translated coordinate system.

Return Values

Returns true on success or false on failure.

Related Functions

Example of ps_translate

Show all examples for ps_translate

PHP Version:


Function ps_translate:

PostScript document creation Functions

Most used PHP functions