PDF_save
PDF_set_border_color
PDF Functions
PHP Manual

# PDF_scale

(PHP 4, PECL pdflib >= 1.0.0)

PDF_scale — Sets scaling

### Description

void pdf_scale ( int `$pdf document` , double `$x-scale` , double `$y-scale` )

The PDF_scale() function sets the scaling factor in both directions. The following example scales x and y direction by 72. The following line will therefore be drawn one inch in both directions.

Example #1 Scaling

<?php PDF_scale($pdf, 72.0, 72.0);
PDF_lineto($pdf, 1, 1);
PDF_stroke($pdf);
?>

PDF_save
PDF_set_border_color
PDF Functions
PHP Manual