php8.5
Home/ Manual/ ps / functions/ ps_scale

ps_scale

PHP function Edit on GitHub ✎

(PECL ps >= 1.1.0)

Sets 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

Success

See Also

Source: reference/ps/functions/ps-scale.xml · from the official PHP manual (php/doc-en)