Searched refs:pt2pt (Results 1 – 13 of 13) sorted by relevance
/plugin/html2pdf/html2pdf/html2ps/ |
H A D | utils_units.php | 8 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 D | value.generic.length.php | 90 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 D | css.size.inc.php | 48 return array('size' => array('width' => $width / mm2pt(1) / pt2pt(1), 49 'height' => $height / mm2pt(1) / pt2pt(1)),
|
H A D | pipeline.class.php | 556 … $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 D | background.image.php | 126 * @see pt2pt()
|
H A D | box.img.php | 201 $size = pt2pt(BROKEN_IMAGE_ALT_SIZE_PT);
|
/plugin/html2pdf/html2pdf/html2ps/unittest/ |
H A D | test.widows.php | 46 $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 D | test.input.select.height.php | 11 pt2pt(33)); 24 pt2pt(33) + $element->_get_vert_extra());
|
H A D | test.input.text.height.php | 11 pt2pt(22)); 24 pt2pt(22) + $element->_get_vert_extra());
|
H A D | test.table.column.width.php | 16 …width = max($pipeline->output_driver->stringwidth('LARGE', 'Times-Roman', 'iso-8859-1', pt2pt(30)), 17 pt2pt(10)); 37 $real_width = pt2pt(150);
|
H A D | test.pagebreak.table.lines.php | 98 pt2pt(180));
|
H A D | test.pagebreak.border.php | 85 $first_div->get_full_height() + pt2pt(20));
|
H A D | test.orphans.php | 47 $first_div->get_full_height() + pt2pt(10),
|