Home
last modified time | relevance | path

Searched refs:patch_array (Results 1 – 2 of 2) sorted by relevance

/plugin/dw2pdf/vendor/mpdf/mpdf/src/
H A DGradient.php43 public function CoonsPatchMesh($x, $y, $w, $h, $patch_array = [], $x_min = 0, $x_max = 1, $y_min = 0, $y_max = 1, $colspace = 'RGB', $return = false) argument
55 for ($i = 0; $i < count($patch_array); $i++) {
56 $this->mpdf->gradients[$n]['stream'].=chr($patch_array[$i]['f']); //start with the edge flag as 8 bit
58 for ($j = 0; $j < count($patch_array[$i]['points']); $j++) {
62 $patch_array[$i]['points'][$j] = (($patch_array[$i]['points'][$j] - $y_min) / ($y_max - $y_min)) * $bpcd;
63 $patch_array[$i]['points'][$j] = $bpcd - $patch_array[$i]['points'][$j];
65 $patch_array[$i]['points'][$j] = (($patch_array[
[all...]
H A DMpdf.php17310 $patch_array[0]['f'] = 0;
17311 $patch_array[0]['points'] = [$p1x, $p1y, $p1x, $p1y,
17316 $patch_array[0]['colors'] = [$col1, $col2, $col2, $col1];
17339 $patch_array[1]['f'] = 2;
17340 $patch_array[1]['points'] = [$p2x, $p2y,
17344 $patch_array[1]['colors'] = [$col1, $col2];
17374 $patch_array[2]['f'] = 2;
17375 $patch_array[2]['points'] = [$p2x, $p2c2y,
17379 $patch_array[2]['colors'] = [$col2, $col1];
17404 $patch_array[
[all...]