PDF_scalePHP ManualPrevNextPDF_scalePDF_scale -- Sets scalingDescriptionvoid 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 1
2 <?php PDF_scale($pdf, 72.0, 72.0);
3 PDF_lineto($pdf, 1, 1);
4 PDF_stroke($pdf);
5 ?>
6 PrevHomeNextPDF_translateUpPDF_rotate
Wyszukiwarka