Lines Matching refs:image

161   function image($image, $x, $y, $scale) {  argument
162 $tmpname = $this->_mktempimage($image);
167 $y - $image->sy() * $scale,
168 $image->sx() * $scale,
169 $image->sy() * $scale);
174 function image_rx($image, $x, $y, $width, $right, $ox, $oy, $scale) { argument
175 $tmpname = $this->_mktempimage($image);
181 $ty = $y + px2pt($image->sy());
183 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
191 $ty = $y + px2pt($image->sy());
193 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
200 function image_rx_ry($image, $x, $y, $width, $height, $right, $bottom, $ox, $oy, $scale) { argument
201 $tmpname = $this->_mktempimage($image);
212 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
226 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
240 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
254 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
264 function image_ry($image, $x, $y, $height, $bottom, $ox, $oy, $scale) { argument
265 $tmpname = $this->_mktempimage($image);
271 $ty = $cy + px2pt($image->sy());
273 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
281 $ty = $cy + px2pt($image->sy());
283 $this->pdf->Image($tmpname, $tx, $ty, $image->sx() * $scale, $image->sy() * $scale, "png");
290 function image_scaled($image, $x, $y, $scale_x, $scale_y) { argument
291 $tmpname = $this->_mktempimage($image);
294 …$this->pdf->Image($tmpname, $x, $y - $image->sy() * $scale_y, $image->sx() * $scale_x, $image->sy(…
410 function _mktempimage($image) { argument
413 switch ($image->get_type()) {
416 imagepng($image->get_handle(), $filename);
422 imagejpeg($image->get_handle(), $filename);