PHP 8.1.0 RC 2 available for testing

ps_scale

(PECL ps >= 1.1.0)

ps_scaleSets scaling factor

Description

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

Sets horizontal and vertical scaling of the coordinate system.

Parameters

psdoc

Resource identifier of the postscript file as returned by ps_new().

x

Scaling factor in horizontal direction.

y

Scaling factor in vertical direction.

Return Values

Returns true on success or false on failure.

See Also

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top