Home
last modified time | relevance | path

Searched refs:mm2pt (Results 26 – 46 of 46) sorted by relevance

12

/plugin/html2pdf/html2pdf/html2ps/
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 Dbackground.image.php95 $top = $driver->offset + mm2pt($media->margins['bottom']) + mm2pt($media->real_height());
96 $bottom = $driver->offset + mm2pt($media->margins['bottom']);
H A Dvalue.generic.length.php94 return pt2pt(mm2pt($this->_number));
96 return pt2pt(mm2pt($this->_number*10));
H A Dmedia.layout.inc.php105 return '0 0 '.ceil(mm2pt($this->size['width'])).' '.ceil(mm2pt($this->size['height']));
H A Dheight.php99 return mm2pt($g_media->real_height()) * $value[0] / 100;
104 return mm2pt($g_media->real_height()) * $value[0] / 100;
H A Dbox.generic.php288 $bottom = mm2pt($media->height() - $media->margins['top']);
305 …$y = ($this->get_top() - $bottom) + (mm2pt($media->real_height()) - $page_heights[$page_index-1]) …
H A Doutput.fpdf.class.php49 $y = mm2pt($this->media->height()) - $y;
313 $this->pdf->AddPage(mm2pt($this->media->width()), mm2pt($this->media->height()));
331 $this->pdf =& new FPDF('P','pt',array(mm2pt($media->width()), mm2pt($media->height())));
H A Doutput.png.class.php177 if (is_null($scale)) { $scale = $this->_widthPixels / mm2pt($this->media->width()); };
183 if (is_null($scale)) { $scale = $this->_heightPixels / mm2pt($this->media->height()); };
236 $this->_widthPixels / mm2pt($this->media->width()),
237 $this->_heightPixels / mm2pt($this->media->height()));
H A Dbox.generic.formatted.php517 $containing_block['left'] = mm2pt($media->margins['left']);
518 $containing_block['right'] = mm2pt($media->margins['left'] + $media->real_width());
519 $containing_block['top'] = mm2pt($media->margins['bottom'] + $media->real_height());
520 $containing_block['bottom'] = mm2pt($media->margins['bottom']);
H A Doutput.pdflib.class.php263 pdf_begin_page($this->pdf, mm2pt($this->media->width()), mm2pt($this->media->height()));
/plugin/html2pdf/html2pdf/html2ps/features/
H A Dautomargins.php32 $media->margins['top'] = $this->_top_margin / mm2pt(1);
33 $media->margins['bottom'] = $this->_bottom_margin / mm2pt(1);
H A Dtoc.php47 $bottom = mm2pt($media->height() - $media->margins['top']);
/plugin/html2pdf/html2pdf/html2ps/unittest/
H A Dtest.textarea.height.php11 mm2pt(80));
H A Dtest.textarea.width.php11 mm2pt(80));
H A Dtest.pagebreak.table.br.php9 $media = new Media(array('width' => 100, 'height' => 200/mm2pt(1)),
H A Dtest.font-size.php21 $this->assertWithinMargin($text->get_full_height(), mm2pt(10), 0.01);
H A Dtest.line-box.top.php5 $media = new Media(array('width' => 100, 'height' => 200/mm2pt(1)),
H A Dtest.line-box.nested.php5 $media = new Media(array('width' => 100, 'height' => 200/mm2pt(1)),
/plugin/html2pdf/html2pdf/html2ps/samples/
H A Dsample.pipeline.default.php27 $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media-…
H A Dsample.pipeline.custom.php26 $g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media-…
/plugin/html2pdf/html2pdf/html2ps/demo/
H A Dtest.php74 …$g_px_scale = mm2pt($media->width() - $media->margins['left'] - $media->margins['right']) / $media…

12