(PHP3 >= 3.0.6, PHP4 )
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);
?>
|
|