Home
last modified time | relevance | path

Searched refs:colorConverter (Results 1 – 22 of 22) sorted by last modified time

/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DCssManager.php32 private $colorConverter; variable in Mpdf\\CssManager
55 public function __construct(Mpdf $mpdf, Cache $cache, SizeConverter $sizeConverter, ColorConverter $colorConverter, RemoteContentFetcher $remoteContentFetcher)
65 $this->colorConverter = $colorConverter;
556 elseif (is_array($this->colorConverter->convert($prop[0], $this->mpdf->PDFAXwarnings))) {
1099 $new['col'] = $this->colorConverter->convert(preg_replace('/\*/', ',', $p[2]), $this->mpdf->PDFAXwarnings);
1105 $new['col'] = $this->colorConverter->convert(preg_replace('/\*/', ',', $p[3]), $this->mpdf->PDFAXwarnings);
1108 $new['col'] = $this->colorConverter->convert(preg_replace('/\*/', ',', $p[4]), $this->mpdf->PDFAXwarnings);
1113 $new['col'] = $this->colorConverter->convert('#888888', $this->mpdf->PDFAXwarnings);
1159 $new['col'] = $this->colorConverter
50 __construct(Mpdf $mpdf, Cache $cache, SizeConverter $sizeConverter, ColorConverter $colorConverter) global() argument
[all...]
H A DDirectWrite.php29 private $colorConverter; variable in Mpdf\\DirectWrite
31 public function __construct(Mpdf $mpdf, Otl $otl, SizeConverter $sizeConverter, ColorConverter $colorConverter) argument
36 $this->colorConverter = $colorConverter;
505 $fc = $this->colorConverter->convert($fill, $this->mpdf->PDFAXwarnings);
506 $tc = $this->colorConverter->convert($color, $this->mpdf->PDFAXwarnings);
H A DForm.php42 private $colorConverter;
104 public function __construct(Mpdf $mpdf, Otl $otl, ColorConverter $colorConverter, BaseWriter $writer, FormWriter $formWriter)
108 $this->colorConverter = $colorConverter;
194 $this->mpdf->SetTColor($this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings));
222 $this->mpdf->SetTColor($this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings));
249 $this->mpdf->SetFColor($this->colorConverter->convert(225, $this->mpdf->PDFAXwarnings));
250 $this->mpdf->SetTColor($this->colorConverter->convert(127, $this->mpdf->PDFAXwarnings));
252 $this->mpdf->SetFColor($this->colorConverter->convert(225, $this->mpdf->PDFAXwarnings));
253 $this->mpdf->SetTColor($this->colorConverter
44 private $colorConverter; global() variable in Mpdf\\Form
106 __construct(Mpdf $mpdf, Otl $otl, ColorConverter $colorConverter, BaseWriter $writer, FormWriter $formWriter) global() argument
[all...]
H A DGradient.php27 private $colorConverter; variable in Mpdf\\Gradient
34 public function __construct(Mpdf $mpdf, SizeConverter $sizeConverter, ColorConverter $colorConverter, BaseWriter $writer) argument
38 $this->colorConverter = $colorConverter;
642 $check = $this->colorConverter->convert($first[0], $this->mpdf->PDFAXwarnings);
728 $col = $this->colorConverter->convert($el[0], $this->mpdf->PDFAXwarnings);
730 $col = $this->colorConverter->convert(255, $this->mpdf->PDFAXwarnings);
768 $checkCol = $this->colorConverter->convert($first[0], $this->mpdf->PDFAXwarnings);
872 $col = $this->colorConverter->convert($el[0], $this->mpdf->PDFAXwarnings);
874 $col = $this->colorConverter
[all...]
H A DMpdf.php917 private $colorConverter;
1116 $this->defTextColor = $this->TextColor = $this->SetTColor($this->colorConverter->convert(0, $this->PDFAXwarnings), true);
1117 $this->defDrawColor = $this->DrawColor = $this->SetDColor($this->colorConverter->convert(0, $this->PDFAXwarnings), true);
1118 $this->defFillColor = $this->FillColor = $this->SetFColor($this->colorConverter->convert(255, $this->PDFAXwarnings), true);
1495 $this->SetFColor($this->colorConverter->convert(255, $this->PDFAXwarnings));
3431 $col = $this->colorConverter->convert($r, $this->PDFAXwarnings);
3433 $col = $this->colorConverter->convert('rgb(' . $r . ',' . $g . ',' . $b . ')', $this->PDFAXwarnings);
3435 $col = $this->colorConverter->convert('cmyk(' . $r . ',' . $g . ',' . $b . ',' . $col4 . ')', $this->PDFAXwarnings);
3446 $col = $this->colorConverter->convert($r, $this->PDFAXwarnings);
3448 $col = $this->colorConverter
914 private $colorConverter; global() variable in Mpdf\\Mpdf
[all...]
H A DServiceFactory.php50 $colorConverter = new ColorConverter($mpdf, $colorModeConverter, $colorSpaceRestrictor);
63 $cssManager = new CssManager($mpdf, $cache, $sizeConverter, $colorConverter, $remoteContentFetcher);
71 $gradient = new Gradient($mpdf, $sizeConverter, $colorConverter, $writer);
75 $form = new Form($mpdf, $otl, $colorConverter, $writer, $formWriter);
84 $colorConverter,
101 $colorConverter,
145 'colorConverter' => $colorConverter,
H A DTag.php53 private $colorConverter;
73 * @param \Mpdf\Color\ColorConverter $colorConverter
85 ColorConverter $colorConverter,
97 $this->colorConverter = $colorConverter;
118 $this->colorConverter,
56 private $colorConverter; global() variable in Mpdf\\Tag
88 __construct(Mpdf $mpdf, Cache $cache, CssManager $cssManager, Form $form, Otl $otl, TableOfContents $tableOfContents, SizeConverter $sizeConverter, ColorConverter $colorConverter, ImageProcessor $imageProcessor, LanguageToFontInterface $languageToFont) global() argument
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Image/
H A DImageProcessor.php46 private $colorConverter;
103 ColorConverter $colorConverter,
116 $this->colorConverter = $colorConverter;
263 $svg = new Svg($this->mpdf, $this->otl, $this->cssManager, $this, $this->sizeConverter, $this->colorConverter, $this->languageToFont, $this->scriptToLanguage);
1032 $this->wmf = new Wmf($this->mpdf, $this->colorConverter);
57 private $colorConverter; global() variable in Mpdf\\Image\\ImageProcessor
114 __construct(Mpdf $mpdf, Otl $otl, CssManager $cssManager, SizeConverter $sizeConverter, ColorConverter $colorConverter, ColorModeConverter $colorModeConverter, Cache $cache, LanguageToFontInterface $languageToFont, ScriptToLanguageInterface $scriptToLanguage, RemoteContentFetcher $remoteContentFetcher, LoggerInterface $logger) global() argument
H A DSvg.php56 public $colorConverter; variable in Mpdf\\Image\\Svg
182 ColorConverter $colorConverter, argument
192 $this->colorConverter = $colorConverter;
1370 $col = $this->colorConverter->convert($critere_style['color'], $this->mpdf->PDFAXwarnings);
1382 $col = $this->colorConverter->convert($critere_style['fill'], $this->mpdf->PDFAXwarnings);
1411 $col = $this->colorConverter->convert($critere_style['color'], $this->mpdf->PDFAXwarnings);
1425 $col = $this->colorConverter->convert($critere_style['stroke'], $this->mpdf->PDFAXwarnings);
2447 $col = $this->colorConverter->convert($current_style['fill'], $this->mpdf->PDFAXwarnings);
2455 $scol = $this->colorConverter
[all...]
H A DWmf.php19 private $colorConverter; variable in Mpdf\\Image\\Wmf
26 public function __construct(Mpdf $mpdf, ColorConverter $colorConverter) argument
29 $this->colorConverter = $colorConverter;
125 $wmfdata .= $this->mpdf->SetFColor($this->colorConverter->convert('rgb(' . $obj['r'] . ',' . $obj['g'] . ',' . $obj['b'] . ')', $this->mpdf->PDFAXwarnings), true) . "\n";
152 $wmfdata .= $this->mpdf->SetDColor($this->colorConverter->convert('rgb(' . $obj['r'] . ',' . $obj['g'] . ',' . $obj['b'] . ')', $this->mpdf->PDFAXwarnings), true) . "\n";
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Tag/
H A DAnnotation.php69 $cor = $this->colorConverter->convert($attr['COLOR'], $this->mpdf->PDFAXwarnings);
73 $objattr['COLOR'] = $this->colorConverter->convert('yellow', $this->mpdf->PDFAXwarnings);
76 $objattr['COLOR'] = $this->colorConverter->convert('yellow', $this->mpdf->PDFAXwarnings);
H A DBarCode.php170 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
175 $objattr['bgcolor'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings);
H A DColumns.php23 $this->colorConverter,
H A DHr.php73 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
75 $objattr['color'] = $this->colorConverter->convert($attr['COLOR'], $this->mpdf->PDFAXwarnings);
H A DImg.php251 $objattr['bgcolor'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings);
443 $objattr['COLOR'] = $this->colorConverter->convert('yellow', $this->mpdf->PDFAXwarnings);
H A DInlineTag.php36 $objattr['COLOR'] = $this->colorConverter->convert('yellow', $this->mpdf->PDFAXwarnings);
H A DInput.php78 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
89 $objattr['border-col'] = $this->colorConverter->convert($properties['BORDER-TOP-COLOR'], $this->mpdf->PDFAXwarnings);
92 $objattr['background-col'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings);
H A DSelect.php27 $this->mpdf->selectoption['COLOR'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
H A DTag.php61 protected $colorConverter; variable in Mpdf\\Tag\\Tag
94 ColorConverter $colorConverter, argument
106 $this->colorConverter = $colorConverter;
H A DTd.php82 $c['border_details']['R']['c'] = $this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings);
83 $c['border_details']['L']['c'] = $this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings);
84 $c['border_details']['T']['c'] = $this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings);
85 $c['border_details']['B']['c'] = $this->colorConverter->convert(0, $this->mpdf->PDFAXwarnings);
H A DTextArea.php72 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
86 $objattr['border-col'] = $this->colorConverter->convert($properties['BORDER-TOP-COLOR'], $this->mpdf->PDFAXwarnings);
89 $objattr['background-col'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings);
H A DTextCircle.php99 $objattr['color'] = $this->colorConverter->convert($properties['COLOR'], $this->mpdf->PDFAXwarnings);
203 $objattr['bgcolor'] = $this->colorConverter->convert($properties['BACKGROUND-COLOR'], $this->mpdf->PDFAXwarnings);