Searched refs:patch_array (Results 1 – 2 of 2) sorted by relevance
| /plugin/dw2pdf/vendor/mpdf/mpdf/src/ |
| D | Gradient.php | 43 …public function CoonsPatchMesh($x, $y, $w, $h, $patch_array = [], $x_min = 0, $x_max = 1, $y_min =… 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 … 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)) *… 63 $patch_array[$i]['points'][$j] = $bpcd - $patch_array[$i]['points'][$j]; 65 …$patch_array[$i]['points'][$j] = (($patch_array[$i]['points'][$j] - $x_min) / ($x_max - $x_min)) *… 67 if ($patch_array[$i]['points'][$j] < 0) { 68 $patch_array[$i]['points'][$j] = 0; 70 if ($patch_array[$i]['points'][$j] > $bpcd) { [all …]
|
| D | Mpdf.php | 17310 $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[3]['f'] = 2; [all …]
|