Home
last modified time | relevance | path

Searched refs:px2pt (Results 1 – 16 of 16) sorted by last modified time

/plugin/html2pdf/html2pdf/html2ps/
H A Dtag.frame.inc.php72 $values[$i] = px2pt($length_src);
H A Dvalue.border.edge.class.php297 $viewport->setlinewidth(px2pt(1));
H A Dbackground.image.php127 * @see px2pt()
129 $image_height = px2pt($this->_image->sy());
130 $image_width = px2pt($this->_image->sx());
182 px2pt(1));
195 px2pt(1));
208 px2pt(1));
223 px2pt(1));
H A Dvalue.generic.length.php92 return px2pt($this->_number);
109 return px2pt($this->_number);
H A Dbox.img.php253 $width = px2pt($root->get_attribute('width'));
255 $width = px2pt(BROKEN_IMAGE_DEFAULT_SIZE_PX);
259 $height = px2pt($root->get_attribute('height'));
261 $height = px2pt(BROKEN_IMAGE_DEFAULT_SIZE_PX);
289 $this->put_width(px2pt($this->image->sx()));
290 $this->put_height(px2pt($this->image->sy()));
H A Doutput.fpdf.class.php181 $ty = $y + px2pt($image->sy());
191 $ty = $y + px2pt($image->sy());
271 $ty = $cy + px2pt($image->sy());
281 $ty = $cy + px2pt($image->sy());
H A Dutils_units.php12 function px2pt($px) { function
59 return px2pt((double)$value);
75 return px2pt((double)$value);
H A Dbox.input.img.php98 $width = px2pt($root->get_attribute('width'));
100 $width = px2pt(BROKEN_IMAGE_DEFAULT_SIZE_PX);
104 $height = px2pt($root->get_attribute('height'));
106 $height = px2pt(BROKEN_IMAGE_DEFAULT_SIZE_PX);
H A Dbox.table.php136 $this->cwc[$index] = new WCConstant(px2pt((int)$value));
/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dtest.border-bottom.php18 $this->assertEqual($width, px2pt(1));
35 $this->assertEqual($width, px2pt(1));
H A Dtest.border-right.php18 $this->assertEqual($width, px2pt(1));
35 $this->assertEqual($width, px2pt(1));
H A Dtest.input.text.php101 px2pt($widths[$i]),
H A Dtest.width.absolute.positioned.php26 mm2pt($media->real_width()) - px2pt(200));
30 px2pt(100));
34 px2pt(100));
38 px2pt(100));
42 px2pt(100));
51 mm2pt($media->real_width()) - px2pt(100),
56 mm2pt($media->real_width()) - px2pt(100),
66 mm2pt($media->real_width()) - px2pt(200),
H A Dtest.border-top.php18 $this->assertEqual($width, px2pt(1));
35 $this->assertEqual($width, px2pt(1));
H A Dtest.position.horizontal.absolute.positioned.php21 mm2pt($media->margins['left']) + px2pt(100),
26 mm2pt($media->width() - $media->margins['right']) - px2pt(100),
36 mm2pt($media->margins['left']) + px2pt(100),
H A Dtest.border-left.php18 $this->assertEqual($width, px2pt(1));
35 $this->assertEqual($width, px2pt(1));