/plugin/combo/ComboStrap/ |
H A D | Unit.php | 33 $dpi = 72; 35 'in' => $dpi, 39 'pt' => $dpi / 72, # 1/27 of an inch 40 'pc' => $dpi / 6, # 1/6 of an inch 41 'cm' => $dpi / 2.54, # inch to cm 42 'mm' => $dpi / (2.54 * 10), # inch to cm,
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
H A D | SizeConverter.php | 11 private $dpi; variable in Mpdf\\SizeConverter 25 public function __construct($dpi, $defaultFontSize, Mpdf $mpdf, LoggerInterface $logger) argument 27 $this->dpi = $dpi; 107 $size = 1 * (25.4 / $this->dpi); 111 $size = 3 * (25.4 / $this->dpi); 117 $size = 5 * (25.4 / $this->dpi); // 5 pixel width for table borders 146 $size *= (25.4 / $this->dpi);
|
H A D | ServiceFactory.php | 42 $sizeConverter = new SizeConverter($mpdf->dpi, $mpdf->default_font_size, $mpdf, $logger);
|
/plugin/svgpureinsert/ |
H A D | helper.php | 78 $dpi = 72; 80 'in' => $dpi, 84 'pt' => $dpi / 72, # 1/27 of an inch 85 'pc' => $dpi / 6, # 1/6 of an inch 86 'cm' => $dpi / 2.54, # inch to cm 87 'mm' => $dpi / (2.54 * 10), # inch to cm,
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/ |
H A D | Input.php | 249 //Put image at default image dpi 255 if (preg_match('/from-image/i', $properties['IMAGE-RESOLUTION']) && isset($info['set-dpi']) && $info['set-dpi'] > 0) { 256 $w *= $this->mpdf->img_dpi / $info['set-dpi']; 257 $h *= $this->mpdf->img_dpi / $info['set-dpi']; 258 } elseif (preg_match('/(\d+)dpi/i', $properties['IMAGE-RESOLUTION'], $m)) { 259 $dpi = $m[1]; 260 if ($dpi > 0) { 261 $w *= $this->mpdf->img_dpi / $dpi; 262 $h *= $this->mpdf->img_dpi / $dpi; [all...] |
H A D | Img.php | 321 //Put image at default image dpi 327 if (preg_match('/from-image/i', $properties['IMAGE-RESOLUTION']) && isset($info['set-dpi']) && $info['set-dpi'] > 0) { 328 $w *= $this->mpdf->img_dpi / $info['set-dpi']; 329 $h *= $this->mpdf->img_dpi / $info['set-dpi']; 330 } elseif (preg_match('/(\d+)dpi/i', $properties['IMAGE-RESOLUTION'], $m)) { 331 $dpi = $m[1]; 332 if ($dpi > 0) { 333 $w *= $this->mpdf->img_dpi / $dpi; 334 $h *= $this->mpdf->img_dpi / $dpi; [all...] |
/plugin/farmer/ |
H A D | all.less | 11 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
|
/plugin/siteexport/inc/ |
H A D | pdfgenerator.php | 53 $mpdf->dpi = $INPUT->int('dpi', 96, true);
|
/plugin/dpicorrect/ |
H A D | action.php | 44 …ly care about JPG and PNG, because GIF images are an on-screen format, and inherit the screen's dpi
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/ |
H A D | ImageProcessor.php | 324 if ($unitSp === 2) { // = dots per cm (if == 1 set as dpi) 416 $info['set-dpi'] = $ppUx; 722 $info['set-dpi'] = $ppUx; 785 $info['set-dpi'] = $ppUx; 883 $info['set-dpi'] = $ppUx; 1100 private function convertImage(&$data, $colspace, $targetcs, $w, $h, $dpi, $mask, $gamma_correction = false, $pngcolortype = false) 1310 if ($dpi) { 1311 $info['set-dpi'] = $dpi; 1317 if ($dpi) { 1083 convertImage(& $data, $colspace, $targetcs, $w, $h, $dpi, $mask, $gamma_correction = false, $pngcolortype = false) global() argument [all...] |
H A D | Svg.php | 268 $w = $this->sizeConverter->convert($wset, $this->svg_info['w'] * (25.4 / $this->mpdf->dpi), $this->mpdf->FontSize, false); 269 $h = $this->sizeConverter->convert($hset, $this->svg_info['h'] * (25.4 / $this->mpdf->dpi), $this->mpdf->FontSize, false); 274 $w *= 1 / (25.4 / $this->mpdf->dpi); 275 $h *= 1 / (25.4 / $this->mpdf->dpi); 2193 // e.g. $w = $this->ConvertSVGSizePixels($arguments['w'],$this->svg_info['w']*(25.4/$this->mpdf->dpi)); 2205 $maxsize *= (25.4 / $this->mpdf->dpi); // convert pixels to mm 2209 $size = $this->sizeConverter->convert($size, $maxsize, $fontsize, false) * 1 / (25.4 / $this->mpdf->dpi); 2396 $fontsize = $current_style['font-size'] * $this->mpdf->dpi / 72; 2719 $this->textlength = $sw * 1 / (25.4 / $this->mpdf->dpi);
|
/plugin/diagramsnet/lib/js/grapheditor/ |
H A D | Dialogs.js | 958 var dpi = parseInt(customDpi.value); 960 if (isNaN(dpi) || dpi <= 0) 970 zoomInput.value = dpi; 1203 var dpi = Math.max(1, parseInt(customDpi.value)); 1215 ExportDialog.exportFile(editorUi, name, format, bg, s, b, dpi, gridCheckbox.checked); 1264 ExportDialog.exportFile = function(editorUi, name, format, bg, s, b, dpi, grid) argument 1307 '&dpi=' + dpi);
|
/plugin/diagramsnet/lib/js/diagramly/ |
H A D | ElectronApp.js | 1997 ExportDialog.exportFile = function(editorUi, name, format, bg, s, b, dpi) argument 2019 false, false, b, true, false, null, null, dpi); 2044 dpi: dpi > 0? dpi : null
|
H A D | EditorUi.js | 4327 EditorUi.prototype.createImageDataUri = function(canvas, xml, format, dpi) argument 4339 if (dpi > 0) 4341 data = Editor.writeGraphModelToPng(data, 'pHYs', 'dpi', dpi); 4355 EditorUi.prototype.saveCanvas = function(canvas, xml, format, ignorePageName, dpi) argument 4360 var data = this.createImageDataUri(canvas, xml, format, dpi); 6891 editable, border, noCrop, currentPage, format, grid, dpi, keepTheme, exportType) argument 6916 format, (this.pages == null || this.pages.length == 0), dpi); 13891 ExportDialog.exportFile = function(editorUi, name, format, bg, s, b, dpi, grid) argument 13921 false, false, b, true, false, null, grid, dpi); 13948 (dpi > 0? '&dpi=' + dpi : '') +
|
/plugin/diagramsnet/lib/ |
H A D | electron.js | 1326 if (args.dpi != null && args.format == 'png') 1328 data = writePngWithText(data, 'dpi', args.dpi);
|
/plugin/diagramsnet/lib/resources/ |
H A D | dia_i18n.txt | 205 dpi=dpi
|
H A D | dia_ru.txt | 205 dpi=DPI
|
H A D | dia_bg.txt | 205 dpi=DPI
|
H A D | dia_el.txt | 205 dpi=DPI
|
H A D | dia_zh.txt | 205 dpi=DPI
|
H A D | dia_uk.txt | 205 dpi=DPI
|
H A D | dia_fa.txt | 205 dpi=DPI
|
H A D | dia_ja.txt | 205 dpi=DPI
|
/plugin/farmer/css/ |
H A D | chosen.less | 437 @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
|
/plugin/photogallery/phpThumb/ |
H A D | phpthumb.class.php | 106 public $dpi = 150; // Dots Per Inch for vector source formats variable in phpthumb 1822 if (null !== $this->dpi && $this->ImageMagickSwitchAvailable('density')) { 1829 $commandline .= ' -density '.phpthumb_functions::escapeshellarg_replacement($this->dpi);
|