Home
last modified time | relevance | path

Searched refs:pt2pt (Results 1 – 13 of 13) sorted by relevance

/plugin/html2pdf/html2pdf/html2ps/
H A Dutils_units.php8 function pt2pt($pt) { function
57 return pt2pt((double)$value);
61 return pt2pt(mm2pt((double)$value));
63 return pt2pt(mm2pt((double)$value*10));
69 return pt2pt((double)$value*72); // points used by CSS 2.1 are equal to 1/72nd of an inch.
71 return pt2pt((double)$value*12); // 1 pica equals to 12 points.
H A Dvalue.generic.length.php90 return pt2pt($this->_number);
94 return pt2pt(mm2pt($this->_number));
96 return pt2pt(mm2pt($this->_number*10));
102 return pt2pt($this->_number * 72); // points used by CSS 2.1 are equal to 1/72nd of an inch.
104 return pt2pt($this->_number * 12); // 1 pica equals to 12 points.
H A Dcss.size.inc.php48 return array('size' => array('width' => $width / mm2pt(1) / pt2pt(1),
49 'height' => $height / mm2pt(1) / pt2pt(1)),
H A Dpipeline.class.php556 … $media->margins['left'] = $margins->left->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
557 …$media->margins['right'] = $margins->right->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
558 … $media->margins['top'] = $margins->top->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt(1);
559 …dia->margins['bottom'] = $margins->bottom->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt(1);
564 … $media->margins['left'] = $left_margin->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
569 … $media->margins['right'] = $right_margin->calc(mm2pt($media->get_width())) / mm2pt(1) / pt2pt(1);
574 $media->margins['top'] = $top_margin->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt(1);
579 …media->margins['bottom'] = $bottom_margin->calc(mm2pt($media->get_height())) / mm2pt(1) / pt2pt(1);
H A Dbackground.image.php126 * @see pt2pt()
H A Dbox.img.php201 $size = pt2pt(BROKEN_IMAGE_ALT_SIZE_PT);
/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dtest.widows.php46 $first_div->get_full_height() + pt2pt(40),
91 $first_div->get_full_height() + pt2pt(30),
136 $first_div->get_full_height() + pt2pt(20),
H A Dtest.input.select.height.php11 pt2pt(33));
24 pt2pt(33) + $element->_get_vert_extra());
H A Dtest.input.text.height.php11 pt2pt(22));
24 pt2pt(22) + $element->_get_vert_extra());
H A Dtest.table.column.width.php16 …width = max($pipeline->output_driver->stringwidth('LARGE', 'Times-Roman', 'iso-8859-1', pt2pt(30)),
17 pt2pt(10));
37 $real_width = pt2pt(150);
H A Dtest.pagebreak.table.lines.php98 pt2pt(180));
H A Dtest.pagebreak.border.php85 $first_div->get_full_height() + pt2pt(20));
H A Dtest.orphans.php47 $first_div->get_full_height() + pt2pt(10),