Lines Matching refs:opacity

225 				'fill-opacity' => 1, //	remplissage opaque par defaut
231 'stroke-opacity' => 1, // trait opaque par defaut
247 'fill-opacity' => 1, // remplissage opaque par defaut
250 'stroke-opacity' => 1, // trait opaque par defaut
777 'opacity' => $gradient_info['color'][$i]['opacity'],
779 if ($gradient_info['color'][$i]['opacity'] < 1) {
1006 'opacity' => $gradient_info['color'][$i]['opacity'],
1008 if ($gradient_info['color'][$i]['opacity'] < 1) {
1228 if ((preg_match("/[^-]opacity:\s*([a-z0-9.]*|none)/i", $critere_style['style'], $m) ||
1229 preg_match("/^opacity:\s*([a-z0-9.]*|none)/i", $critere_style['style'], $m)) && $m[1] != 'inherit') {
1230 $current_style['fill-opacity'] = $m[1];
1231 $current_style['stroke-opacity'] = $m[1];
1234 $tmp = preg_replace("/(.*)fill-opacity:\s*([a-z0-9.]*|none)(.*)/i", "$2", $critere_style['style']);
1236 $current_style['fill-opacity'] = $tmp;
1268 $tmp = preg_replace("/(.*)stroke-opacity:\s*([a-z0-9.]*|none)(.*)/i", "$2", $critere_style['style']);
1270 $current_style['stroke-opacity'] = $tmp;
1290 if (isset($critere_style['opacity']) && $critere_style['opacity'] != 'inherit') {
1291 $current_style['fill-opacity'] = $critere_style['opacity'];
1292 $current_style['stroke-opacity'] = $critere_style['opacity'];
1299 if (isset($critere_style['fill-opacity']) && $critere_style['fill-opacity'] != 'inherit') {
1300 $current_style['fill-opacity'] = $critere_style['fill-opacity'];
1323 if (isset($critere_style['stroke-opacity']) && $critere_style['stroke-opacity'] != 'inherit') {
1324 $current_style['stroke-opacity'] = $critere_style['stroke-opacity'];
1373 $critere_style['fill-opacity'] = ord($col[4] / 100);
1376 $critere_style['fill-opacity'] = ord($col[5] / 100);
1385 $critere_style['fill-opacity'] = ord($col[4] / 100);
1388 $critere_style['fill-opacity'] = ord($col[5] / 100);
1414 $critere_style['stroke-opacity'] = ord($col[4] / 100);
1417 $critere_style['stroke-opacity'] = ord($col[5] / 100);
1430 $critere_style['stroke-opacity'] = ord($col[4] / 100);
1433 $critere_style['stroke-opacity'] = ord($col[5] / 100);
1506 if (isset($critere_style['fill-opacity'])) {
1507 $opacity = 1;
1508 if ($critere_style['fill-opacity'] == 0) {
1509 $opacity = 0;
1510 } elseif ($critere_style['fill-opacity'] > 1) {
1511 $opacity = 1;
1512 } elseif ($critere_style['fill-opacity'] > 0) {
1513 $opacity = $critere_style['fill-opacity'];
1514 } elseif ($critere_style['fill-opacity'] < 0) {
1515 $opacity = 0;
1517 $gs = $this->mpdf->AddExtGState(['ca' => $opacity, 'BM' => '/Normal']);
1522 if (isset($critere_style['stroke-opacity'])) {
1523 $opacity = 1;
1524 if ($critere_style['stroke-opacity'] == 0) {
1525 $opacity = 0;
1526 } elseif ($critere_style['stroke-opacity'] > 1) {
1527 $opacity = 1;
1528 } elseif ($critere_style['stroke-opacity'] > 0) {
1529 $opacity = $critere_style['stroke-opacity'];
1530 } elseif ($critere_style['stroke-opacity'] < 0) {
1531 $opacity = 0;
1533 $gs = $this->mpdf->AddExtGState(['CA' => $opacity, 'BM' => '/Normal']);
2416 if (isset($current_style['fill-opacity'])) {
2417 if ($current_style['fill-opacity'] == 0) {
2419 } elseif ($current_style['fill-opacity'] > 1) {
2421 } elseif ($current_style['fill-opacity'] > 0) {
2422 $fopacity = $current_style['fill-opacity'];
2423 } elseif ($current_style['fill-opacity'] < 0) {
2429 if (isset($current_style['stroke-opacity'])) {
2430 if ($current_style['stroke-opacity'] == 0) {
2432 } elseif ($current_style['stroke-opacity'] > 1) {
2434 } elseif ($current_style['stroke-opacity'] > 0) {
2435 $sopacity = $current_style['stroke-opacity'];
2436 } elseif ($current_style['stroke-opacity'] < 0) {
2591 if (isset($current_style['fill-opacity'])) {
2592 if ($current_style['fill-opacity'] == 0) {
2594 } elseif ($current_style['fill-opacity'] > 1) {
2596 } elseif ($current_style['fill-opacity'] > 0) {
2597 $fopacity = $current_style['fill-opacity'];
2598 } elseif ($current_style['fill-opacity'] < 0) {
2605 if (isset($current_style['stroke-opacity'])) {
2606 if ($current_style['stroke-opacity'] == 0) {
2608 } elseif ($current_style['stroke-opacity'] > 1) {
2610 } elseif ($current_style['stroke-opacity'] > 0) {
2611 $sopacity = $current_style['stroke-opacity'];
2612 } elseif ($current_style['stroke-opacity'] < 0) {
2770 if (preg_match("/[^-]opacity:\s*([a-z0-9.]*|none)/i", $critere_style['style'], $m) ||
2771 preg_match("/^opacity:\s*([a-z0-9.]*|none)/i", $critere_style['style'], $m)) {
2772 $current_style['fill-opacity'] = $m[1];
2773 $current_style['stroke-opacity'] = $m[1];
2776 $tmp = preg_replace("/(.*)fill-opacity:\s*([a-z0-9.]*|none)(.*)/i", "$2", $critere_style['style']);
2778 $current_style['fill-opacity'] = $tmp;
2810 $tmp = preg_replace("/(.*)stroke-opacity:\s*([a-z0-9.]*|none)(.*)/i", "$2", $critere_style['style']);
2812 $current_style['stroke-opacity'] = $tmp;
2894 if (isset($critere_style['opacity']) && $critere_style['opacity'] != 'inherit') {
2895 $current_style['fill-opacity'] = $critere_style['opacity'];
2896 $current_style['stroke-opacity'] = $critere_style['opacity'];
2900 if (isset($critere_style['stroke-opacity']) && $critere_style['stroke-opacity'] != 'inherit') {
2901 $current_style['stroke-opacity'] = $critere_style['stroke-opacity'];
2905 if (isset($critere_style['fill-opacity']) && $critere_style['fill-opacity'] != 'inherit') {
2906 $current_style['fill-opacity'] = $critere_style['fill-opacity'];
3597 if (isset($attribs['style']) and preg_match('/stop-opacity:\s*([0-9.]*)/i', $attribs['style'], $m)) {
3599 } elseif (isset($attribs['stop-opacity'])) {
3600 $stop_opacity = $attribs['stop-opacity'];
3610 'opacity' => $stop_opacity