Home
last modified time | relevance | path

Searched refs:SCALE (Results 1 – 25 of 60) sorted by relevance

123

/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DPageFooter.php49 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
50 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
51 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
79 $p['L']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
101 $p['C']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
123 $p['R']['font-size'] = $this->sizeConverter->convert($properties['FONT-SIZE']) * Mpdf::SCALE;
H A DInput.php74 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size / Mpdf::SCALE);
75 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false);
241 $w = abs($info['w']) / (20 * Mpdf::SCALE);
242 $h = abs($info['h']) / (20 * Mpdf::SCALE);
246 $w = abs($info['w']) / Mpdf::SCALE;
247 $h = abs($info['h']) / Mpdf::SCALE;
250 $w = ($info['w'] / Mpdf::SCALE) * (72 / $this->mpdf->img_dpi);
251 $h = ($info['h'] / Mpdf::SCALE) * (72 / $this->mpdf->img_dpi);
H A DLegend.php26 $this->mpdf->blk[$this->mpdf->blklvl]['margin_top'] += ($leg[11] / 2) / Mpdf::SCALE;
27 $this->mpdf->blk[$this->mpdf->blklvl]['padding_top'] += ($leg[11] / 2) / Mpdf::SCALE;
H A DImg.php313 $w = abs($info['w']) / (20 * Mpdf::SCALE);
314 $h = abs($info['h']) / (20 * Mpdf::SCALE);
318 $w = abs($info['w']) / Mpdf::SCALE;
319 $h = abs($info['h']) / Mpdf::SCALE;
322 $w = ($info['w'] / Mpdf::SCALE) * (72 / $this->mpdf->img_dpi);
323 $h = ($info['h'] / Mpdf::SCALE) * (72 / $this->mpdf->img_dpi);
H A DTextArea.php68 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size / Mpdf::SCALE);
69 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false);
H A DSelect.php19 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size / Mpdf::SCALE);
20 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false);
H A DMeter.php250 $w = $this->mpdf->FontSize / (10 / Mpdf::SCALE) * abs($info['w']) / Mpdf::SCALE;
251 $h = $this->mpdf->FontSize / (10 / Mpdf::SCALE) * abs($info['h']) / Mpdf::SCALE;
H A DTextCircle.php85 $mmsize = $this->sizeConverter->convert($properties['FONT-SIZE'], $this->mpdf->default_font_size / Mpdf::SCALE);
86 $this->mpdf->SetFontSize($mmsize * Mpdf::SCALE, false);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Writer/
H A DPageWriter.php107 $hPt = $this->mpdf->pageDim[$n]['w'] * Mpdf::SCALE;
108 $wPt = $this->mpdf->pageDim[$n]['h'] * Mpdf::SCALE;
109 $owidthPt_LR = $this->mpdf->pageDim[$n]['outer_width_TB'] * Mpdf::SCALE;
110 $owidthPt_TB = $this->mpdf->pageDim[$n]['outer_width_LR'] * Mpdf::SCALE;
112 $wPt = $this->mpdf->pageDim[$n]['w'] * Mpdf::SCALE;
113 $hPt = $this->mpdf->pageDim[$n]['h'] * Mpdf::SCALE;
114 $owidthPt_LR = $this->mpdf->pageDim[$n]['outer_width_LR'] * Mpdf::SCALE;
115 $owidthPt_TB = $this->mpdf->pageDim[$n]['outer_width_TB'] * Mpdf::SCALE;
153 $bleedMargin = $this->mpdf->pageDim[$n]['bleedMargin'] * Mpdf::SCALE;
176 $bleedMargin = $this->mpdf->pageDim[$n]['bleedMargin'] * Mpdf::SCALE;
[all...]
H A DMetadataWriter.php510 $wPt = $this->mpdf->pageDim[$n]['w'] * Mpdf::SCALE;
511 $hPt = $this->mpdf->pageDim[$n]['h'] * Mpdf::SCALE;
547 $htarg = $this->mpdf->pageDim[$p]['h'] * Mpdf::SCALE;
559 $htarg = $this->mpdf->pageDim[$l[0]]['h'] * Mpdf::SCALE;
561 $htarg = $this->mpdf->h * Mpdf::SCALE;
564 $annot .= sprintf(' /Dest [%d 0 R /XYZ 0 %.3F null]>>', 1 + 2 * $l[0], $htarg - $l[1] * Mpdf::SCALE);
592 $x = ($wPt / Mpdf::SCALE) - $this->mpdf->annotMargin;
596 $a = $x * Mpdf::SCALE;
597 $b = $hPt - ($pl['y'] * Mpdf::SCALE);
727 $x = $pl['opt']['popup'][0] * Mpdf::SCALE;
[all...]
H A DBackgroundWriter.php70 $x_pos = ($bpa['w'] * $x_pos) - ($orig_w / Mpdf::SCALE * $x_pos);
72 $x_pos = ($w * $x_pos) - ($orig_w / Mpdf::SCALE * $x_pos);
83 $y_pos = ($bpa['h'] * $y_pos) - ($orig_h / Mpdf::SCALE * $y_pos);
85 $y_pos = ($h * $y_pos) - ($orig_h / Mpdf::SCALE * $y_pos);
90 $adj_x = ($x_pos + $bpa['x']) * Mpdf::SCALE;
92 $adj_x = ($x_pos + $x) * Mpdf::SCALE;
96 $adj_y = (($pgh - $y_pos - $bpa['y']) * Mpdf::SCALE) - $orig_h;
98 $adj_y = (($pgh - $y_pos - $y) * Mpdf::SCALE) - $orig_h;
H A DBaseWriter.php196 $h = ($m[1] / Mpdf::SCALE);
202 $h = ($m[1] / Mpdf::SCALE);
H A DBookmarkWriter.php106 $this->writer->write(sprintf('/Dest [%d 0 R /XYZ 0 %.3F null]', 1 + 2 * ($o['p']), ($h - $o['y']) * Mpdf::SCALE));
/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DMpdf.php36 const SCALE = 72 / 25.4;
1320 $this->LineWidth = .567 / Mpdf::SCALE;
1483 $default_font_size = $mmsize * (Mpdf::SCALE);
1659 $this->fwPt = $format[0] * Mpdf::SCALE;
1660 $this->fhPt = $format[1] * Mpdf::SCALE;
1663 $this->fw = $this->fwPt / Mpdf::SCALE;
1664 $this->fh = $this->fhPt / Mpdf::SCALE;
1682 $this->w = $this->wPt / Mpdf::SCALE;
1683 $this->h = $this->hPt / Mpdf::SCALE;
2066 $cw = $cw * Mpdf::SCALE;
45 const SCALE = 72 / 25.4; global() define in Mpdf\\Mpdf
[all...]
H A DGradient.php46 $s.=sprintf(' %.3F %.3F %.3F %.3F re W n ', $x * Mpdf::SCALE, ($this->mpdf->h - $y) * Mpdf::SCALE, $w * Mpdf::SCALE, -$h * Mpdf::SCALE);
47 $s.=sprintf(' %.3F 0 0 %.3F %.3F %.3F cm ', $w * Mpdf::SCALE, $h * Mpdf::SCALE, $x * Mpdf::SCALE, ($this->mpdf->h - ($y + $h)) * Mpdf::SCALE);
481 $s .= sprintf(' %.3F %.3F %.3F %.3F re W n', $x * Mpdf::SCALE, ($this->mpdf->h - $y) * Mpdf::SCALE,
[all...]
H A DFpdiTrait.php33 protected $k = Mpdf::SCALE;
223 'x' => $rect->getLlx() / Mpdf::SCALE,
224 'y' => $rect->getLly() / Mpdf::SCALE,
225 'width' => $rect->getWidth() / Mpdf::SCALE,
226 'height' => $rect->getHeight() / Mpdf::SCALE,
H A DSizeConverter.php72 $size *= 1 / Mpdf::SCALE;
76 $size *= $this->mpdf->default_font_size / Mpdf::SCALE;
H A DForm.php331 $ClipPath = sprintf('q %.3F %.3F %.3F %.3F re W n ', $this->mpdf->x * Mpdf::SCALE, ($this->mpdf->h - $this->mpdf->y) * Mpdf::SCALE, $w * Mpdf::SCALE, -$h * Mpdf::SCALE);
466 $this->writer->write(sprintf('q %.3F 0 0 %.3F %.3F %.3F cm /I%d Do Q', $objattr['INNER-WIDTH'] * Mpdf::SCALE, $objattr['INNER-HEIGHT'] * Mpdf::SCALE, $objattr['INNER-X'] * Mpdf::SCALE, ($this->mpdf->h - ($objattr['INNER-Y'] + $objattr['INNER-HEIGHT'] )) * Mpdf::SCALE, $objattr['ID']));
1298 $x *= Mpdf::SCALE;
1299 $y = $hPt - ($y * Mpdf::SCALE);
[all...]
H A DDirectWrite.php145 list($charspacing, $ws) = $this->mpdf->GetJspacing($nb_carac, $nb_spaces, (($w - 2) - $len_ligne) * Mpdf::SCALE, $inclCursive);
235 list($charspacing, $ws) = $this->mpdf->GetJspacing($nb_carac, $nb_spaces, (($w - 2) - $len_ligne) * Mpdf::SCALE, $false);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/
H A DGlyphOperator.php10 const SCALE = 1 << 3; define in Mpdf\\Fonts\\GlyphOperator
/plugin/batchedit/
H A Dengine.php913 const SCALE = 1000; define in BatcheditProgress
958 if ($progress <= self::SCALE) {
962 return array(self::APPLY, $progress - self::SCALE);
969 $progress = max(round(self::SCALE * $this->progress / $this->range), 1);
972 $progress += self::SCALE;
/plugin/jdraw/src/com/mxgraph/examples/swing/editor/
H A DSchemaEditorToolBar.java123 view.getGraph().getView().addListener(mxEvent.SCALE, scaleTracker); in SchemaEditorToolBar()
H A DEditorToolBar.java220 view.getGraph().getView().addListener(mxEvent.SCALE, scaleTracker); in EditorToolBar()
H A DEditorRuler.java177 mxEvent.SCALE, repaintHandler); in EditorRuler()
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DWmf.php34 $k = Mpdf::SCALE;

123