PDF_scale -- Sets scaling Descriptionvoid 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 |
|
This PHP manual is Copyright © 1997, 1998, 1999, 2000 the PHP Documentation Group. It has been licensed under the GPL. Permission granted for display on the Abscissa Tech web site on March 9, 2000. The most recent PHP documentation is available at http://www.php.net/.
|
|