Lines Matching defs:write

1913 			$this->writer->write(sprintf('/GS%d gs', $gs));
1949 $this->writer->write('EMC');
1953 $this->writer->write('/OC /OC1 BDC');
1956 $this->writer->write('/OC /OC2 BDC');
1959 $this->writer->write('/OC /OC3 BDC');
1973 $this->writer->write('%PDF-' . $this->pdf_version);
1974 $this->writer->write('%' . chr(226) . chr(227) . chr(207) . chr(211)); // 4 chars > 128 to show binary file
2775 $this->writer->write('/OCZ-index /ZI' . $id . ' BDC');
2783 $this->writer->write('EMCZ-index');
2982 $this->writer->write('2 J');
2984 $this->writer->write(sprintf('%.3F w', $lw * Mpdf::SCALE));
2993 $this->writer->write($dc);
2999 $this->writer->write($fc);
3219 $this->writer->write('___PAGE___START' . $this->uniqstr);
3220 $this->writer->write('___BACKGROUND___PATTERNS' . $this->uniqstr);
3221 $this->writer->write('___HEADER___MARKER' . $this->uniqstr);
3230 $this->writer->write(sprintf('%.3F w', $lw * Mpdf::SCALE));
3233 $this->SetFont($family, $style, $size, true, true); // forces write
3239 $this->writer->write($dc);
3243 $this->writer->write($fc);
3254 $this->writer->write(sprintf('%.3F w', $lw * Mpdf::SCALE));
3258 $this->SetFont($family, $style, $size, true, true); // forces write
3264 $this->writer->write($dc);
3268 $this->writer->write($fc);
3391 $this->writer->write($this->DrawColor);
3408 $this->writer->write($this->FillColor);
3751 $this->writer->write($lwout);
3759 $this->writer->write(sprintf('%.3F %.3F m %.3F %.3F l S', $x1 * Mpdf::SCALE, ($this->h - $y1) * Mpdf::SCALE, $x2 * Mpdf::SCALE, ($this->h - $y2) * Mpdf::SCALE));
3786 $this->writer->write($s);
3791 $this->writer->write($s);
3804 $this->writer->write(sprintf('%.3F %.3F %.3F %.3F re %s', $x * Mpdf::SCALE, ($this->h - $y) * Mpdf::SCALE, $w * Mpdf::SCALE, -$h * Mpdf::SCALE, $op));
4020 function SetFont($family, $style = '', $size = 0, $write = true, $forcewrite = false)
4200 if ($write) {
4203 $this->writer->write($fontout);
4268 if ($write) {
4271 $this->writer->write($fontout);
4284 function SetFontSize($size, $write = true)
4293 if ($write) {
4297 $this->writer->write($fontout);
4326 if ($this->keep_block_together) { // don't write yet
4478 $this->writer->write($s);
4569 $this->writer->write('BT 0 Tw ET');
4573 $this->writer->write('BT 0 Tc ET');
4584 $this->writer->write(sprintf('BT %.3F Tc ET', $cs));
4586 $this->writer->write('BT 0 Tc ET');
4593 $this->writer->write(sprintf('BT %.3F Tw ET', $ws));
4595 $this->writer->write('BT 0 Tw ET');
5391 $this->writer->write($s);
5396 $this->writer->write(sprintf('BT %.3F Tc ET', $this->charspacing));
6365 function restoreFont(&$saved, $write = true)
6391 if ($write) {
6395 $this->writer->write($fontout);
7196 $this->writer->write("\n" . '% BTR'); // Begin Transform
7326 $this->writer->write('q ' . $tr2 . ' ');
7335 $this->writer->write('Q');
7357 $this->writer->write($outstring);
7369 $this->writer->write('q ' . $tr2 . ' ');
7375 $this->writer->write('Q');
7386 $this->writer->write("\n" . '% ETR'); // End Transform
7672 $this->writer->write(sprintf('q %s %s', $lcol, $fcol));
7673 $this->writer->write('0 j 0 J [] 0 d');
7676 $this->writer->write(sprintf('%.3F %.3F %.3F %.3F re f', ($x - $size / 2) * Mpdf::SCALE, ($this->h - $y + $size / 2) * Mpdf::SCALE, ($size) * Mpdf::SCALE, (-$size) * Mpdf::SCALE));
7681 $this->writer->write(sprintf('%.3F w ', $lw * Mpdf::SCALE));
7684 $this->writer->write('Q');
8813 $this->writer->write($tr);
8825 $this->writer->write($tr);
8834 $this->writer->write($tr);
8974 $this->writer->write($outstring);
9045 $this->writer->write($outstring);
9316 $this->writer->write($s);
9325 $this->writer->write($s);
9339 $this->writer->write($s);
9914 if ($this->keep_block_together) { // don't write yet
10006 $this->writer->write('<<');
10011 $this->writer->write('>>');
10012 $this->writer->write('endobj');
10031 $this->writer->write('<<');
10037 $this->writer->write('>>');
10038 $this->writer->write('endobj');
10042 $this->writer->write('xref');
10043 $this->writer->write('0 ' . ($this->n + 1));
10044 $this->writer->write('0000000000 65535 f ');
10047 $this->writer->write(sprintf('%010d 00000 n ', $this->offsets[$i]));
10051 $this->writer->write('trailer');
10052 $this->writer->write('<<');
10056 $this->writer->write('>>');
10057 $this->writer->write('startxref');
10058 $this->writer->write($o);
10596 $this->writer->write('Q');
10605 $this->writer->write(sprintf('q %.5F %.5F %.5F %.5F %.3F %.3F cm 1 0 0 1 %.3F %.3F cm', $c, $s, -$s, $c, $cx, $cy, -$cx, -$cy));
10632 $this->writer->write(sprintf('%.3F %.3F m', ($x + $r) * Mpdf::SCALE, ($hp - $y) * Mpdf::SCALE));
10635 $this->writer->write(sprintf('%.3F %.3F l', $xc * Mpdf::SCALE, ($hp - $y) * Mpdf::SCALE));
10640 $this->writer->write(sprintf('%.3F %.3F l', ($x + $w) * Mpdf::SCALE, ($hp - $yc) * Mpdf::SCALE));
10645 $this->writer->write(sprintf('%.3F %.3F l', $xc * Mpdf::SCALE, ($hp - ($y + $h)) * Mpdf::SCALE));
10650 $this->writer->write(sprintf('%.3F %.3F l', ($x) * Mpdf::SCALE, ($hp - $yc) * Mpdf::SCALE));
10653 $this->writer->write($op);
10659 $this->writer->write(sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c ', $x1 * Mpdf::SCALE, ($h - $y1) * Mpdf::SCALE, $x2 * Mpdf::SCALE, ($h - $y2) * Mpdf::SCALE, $x3 * Mpdf::SCALE, ($h - $y3) * Mpdf::SCALE));
12017 $this->writer->write(sprintf('q /Pattern cs /P%d scn %s %.3F %.3F %.3F %.3F re f Q', $n, $opac, $px * Mpdf::SCALE, ($this->h - $py) * Mpdf::SCALE, $pw * Mpdf::SCALE, -$ph * Mpdf::SCALE));
12257 function SetHTMLHeader($header = '', $OE = '', $write = false)
12319 if ($write && $this->state != 0 && (($this->mirrorMargins && $OE == 'E' && ($this->page) % 2 == 0) || ($this->mirrorMargins && $OE != 'E' && ($this->page) % 2 == 1) || !$this->mirrorMargins)) {
12658 function SetHeaderByName($name, $side = 'O', $write = false)
12663 $this->SetHTMLHeader($this->pageHTMLheaders[$name], $side, $write);
12694 function SetHTMLHeaderByName($name, $side = 'O', $write = false)
12699 $this->SetHTMLHeader($this->pageHTMLheaders[$name], $side, $write);
12710 function SetHeader($Harray = [], $side = '', $write = false)
12848 $this->SetHTMLHeader($evenhtml, 'E', $write);
12850 $this->SetHTMLHeader($oddhtml, 'O', $write);
12852 $this->SetHTMLHeader($oddhtml, 'O', $write);
12853 $this->SetHTMLHeader($evenhtml, 'E', $write);
14388 if ($inner_w === 'auto') { // do a first write
14419 if ($inner_h === 'auto') { // do a first write
14605 $this->writer->write($rot_start);
14607 $this->writer->write($rot_end);
14615 $this->writer->write($rot_start);
14626 $this->writer->write("q");
14628 $this->writer->write(sprintf('%.3F %.3F %.3F %.3F re %s', $x * Mpdf::SCALE, ($this->h - $y) * Mpdf::SCALE, $w * Mpdf::SCALE, -$ch * Mpdf::SCALE, $op));
14643 $this->writer->write($block_s);
14653 $this->writer->write($this->headerbuffer);
14661 $this->writer->write("Q");
14664 $this->writer->write($rot_end);
16833 $this->writer->write('q');
16835 $this->writer->write(sprintf('%.3F %.3F m ', ($x0) * Mpdf::SCALE, ($this->h - ($y0)) * Mpdf::SCALE));
16836 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $border_left) * Mpdf::SCALE, ($this->h - ($y0 + $border_top)) * Mpdf::SCALE));
16837 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $w - $border_right) * Mpdf::SCALE, ($this->h - ($y0 + $border_top)) * Mpdf::SCALE));
16838 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $w) * Mpdf::SCALE, ($this->h - ($y0)) * Mpdf::SCALE));
16839 $this->writer->write(' h W n '); // Ends path no-op & Sets the clipping path
16904 $this->writer->write($s);
16909 $this->writer->write($s);
16912 $this->writer->write('Q');
16930 $this->writer->write('q');
16932 $this->writer->write(sprintf('%.3F %.3F m ', ($x0) * Mpdf::SCALE, ($this->h - ($y0 + $h)) * Mpdf::SCALE));
16933 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $border_left) * Mpdf::SCALE, ($this->h - ($y0 + $h - $border_bottom)) * Mpdf::SCALE));
16934 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $w - $border_right) * Mpdf::SCALE, ($this->h - ($y0 + $h - $border_bottom)) * Mpdf::SCALE));
16935 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $w) * Mpdf::SCALE, ($this->h - ($y0 + $h)) * Mpdf::SCALE));
16936 $this->writer->write(' h W n '); // Ends path no-op & Sets the clipping path
16968 $this->writer->write($s);
16973 $this->writer->write($s);
16976 $this->writer->write('Q');
16994 $this->writer->write('q');
16996 $this->writer->write(sprintf('%.3F %.3F m ', ($x0) * Mpdf::SCALE, ($this->h - ($y0)) * Mpdf::SCALE));
16997 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $border_left) * Mpdf::SCALE, ($this->h - ($y0 + $border_top)) * Mpdf::SCALE));
16998 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $border_left) * Mpdf::SCALE, ($this->h - ($y0 + $h - $border_bottom)) * Mpdf::SCALE));
16999 $this->writer->write(sprintf('%.3F %.3F l ', ($x0) * Mpdf::SCALE, ($this->h - ($y0 + $h)) * Mpdf::SCALE));
17000 $this->writer->write(' h W n '); // Ends path no-op & Sets the clipping path
17032 $this->writer->write($s);
17037 $this->writer->write($s);
17040 $this->writer->write('Q');
17055 $this->writer->write('q');
17057 $this->writer->write(sprintf('%.3F %.3F m ', ($x0 + $w) * Mpdf::SCALE, ($this->h - ($y0)) * Mpdf::SCALE));
17058 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $w - $border_right) * Mpdf::SCALE, ($this->h - ($y0 + $border_top)) * Mpdf::SCALE));
17059 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $w - $border_right) * Mpdf::SCALE, ($this->h - ($y0 + $h - $border_bottom)) * Mpdf::SCALE));
17060 $this->writer->write(sprintf('%.3F %.3F l ', ($x0 + $w) * Mpdf::SCALE, ($this->h - ($y0 + $h)) * Mpdf::SCALE));
17061 $this->writer->write(' h W n '); // Ends path no-op & Sets the clipping path
17093 $this->writer->write($s);
17098 $this->writer->write($s);
17101 $this->writer->write('Q');
21956 $this->writer->write($this->tableClipPath);
22076 $this->writer->write('___TABLE___BACKGROUNDS' . $this->uniqstr);
22224 $this->writer->write("Q");
22289 $this->writer->write($this->DrawColor);
22367 $this->writer->write('___TABLE___BACKGROUNDS' . $this->uniqstr);
22371 $this->writer->write($this->tableClipPath);
22388 $this->writer->write($this->DrawColor);
22714 $this->writer->write(sprintf('q /Pattern cs /P%d scn %s %.3F %.3F %.3F %.3F re f Q', $n, $opac, $px * Mpdf::SCALE, ($this->h - $py) * Mpdf::SCALE, $pw * Mpdf::SCALE, -$ph * Mpdf::SCALE));
23145 $this->writer->write("Q");
23312 $this->writer->write('<</Type /ExtGState');
23314 $this->writer->write('/' . $k . ' ' . $v);
23316 $this->writer->write('>>');
23317 $this->writer->write('endobj');
25354 $this->writer->write(sprintf('%.3F %.3F m %.3F %.3F %.3F %.3F %.3F %.3F c', ($x + $rx) * Mpdf::SCALE, ($h - $y) * Mpdf::SCALE, ($x + $rx) * Mpdf::SCALE, ($h - ($y - $ly)) * Mpdf::SCALE, ($x + $lx) * Mpdf::SCALE, ($h - ($y - $ry)) * Mpdf::SCALE, $x * Mpdf::SCALE, ($h - ($y - $ry)) * Mpdf::SCALE));
25355 $this->writer->write(sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c', ($x - $lx) * Mpdf::SCALE, ($h - ($y - $ry)) * Mpdf::SCALE, ($x - $rx) * Mpdf::SCALE, ($h - ($y - $ly)) * Mpdf::SCALE, ($x - $rx) * Mpdf::SCALE, ($h - $y) * Mpdf::SCALE));
25356 $this->writer->write(sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c', ($x - $rx) * Mpdf::SCALE, ($h - ($y + $ly)) * Mpdf::SCALE, ($x - $lx) * Mpdf::SCALE, ($h - ($y + $ry)) * Mpdf::SCALE, $x * Mpdf::SCALE, ($h - ($y + $ry)) * Mpdf::SCALE));
25357 $this->writer->write(sprintf('%.3F %.3F %.3F %.3F %.3F %.3F c %s', ($x + $lx) * Mpdf::SCALE, ($h - ($y + $ry)) * Mpdf::SCALE, ($x + $rx) * Mpdf::SCALE, ($h - ($y + $ly)) * Mpdf::SCALE, ($x + $rx) * Mpdf::SCALE, ($h - $y) * Mpdf::SCALE, $op));
26259 $this->SetFontSize($codestr_fontsize * 1.4 * Mpdf::SCALE, false); // don't write
26275 $this->writer->write(sprintf('BT %.3F Tc ET', $charspacing * Mpdf::SCALE));
26283 $this->writer->write('BT 0 Tc ET');
26376 $this->writer->write(sprintf('BT %.3F Tc ET', $charspacing * Mpdf::SCALE));
26398 $this->writer->write('BT 0 Tc ET');
26579 $this->writer->write('q');
26588 $this->writer->write('Q');
26719 $this->writer->write(sprintf('%.4F %.4F %.4F %.4F %.4F %.4F cm', $tm[0], $tm[1], $tm[2], $tm[3], $tm[4], $tm[5]));
26980 $file = $this->cache->write('/_tempSVG' . uniqid(random_int(1, 100000), true) . '_' . $i . '.svg', $svgi[0][$i]);
27362 $this->writer->write('<<');
27363 $this->writer->write('/S /JavaScript ');
27364 $this->writer->write('/JS ' . $this->writer->string($string));
27365 $this->writer->write('>>');
27366 $this->writer->write('endobj');
27407 $this->writer->write($s);