Home
last modified time | relevance | path

Searched refs:opacity (Results 1 – 12 of 12) sorted by relevance

/imagick/tests/
H A D043_Imagick_colorizeImage_basic.phpt12 $opacity = 100;
14 function colorizeImage($color, $opacity) {
17 $opacity = $opacity / 255.0;
18 $opacityColor = new \ImagickPixel("rgba(0, 0, 0, $opacity)");
24 colorizeImage($color, $opacity) ;
28 $opacity = $opacity / 255.0;
29 $opacityColor = new \ImagickPixel("rgba(0, 0, 0, $opacity)");
H A D003_cast_color_opacity.phpt2 Casting color and opacity to pixel
13 echo "Casting color and opacity succeeded\n";
15 echo "Casting color and opacity failed: " , $e->getMessage() . PHP_EOL;
24 echo "Setting color and opacity without cast succeeded\n";
26 echo "Setting color and opacity without cast failed: " , $e->getMessage() . PHP_EOL;
32 Casting color and opacity succeeded
33 Setting color and opacity without cast succeeded
H A D045_Imagick_compositeImage_basic.phpt30 $opacity = new \Imagick();
31 $opacity->newPseudoImage(
36 $opacity->rotateimage('black', 90);
38 $img2->compositeImage($opacity, \Imagick::COMPOSITE_COPYOPACITY, 0, 0);
H A D265_ImagickDraw_getOpacity_basic.phpt30 $opacity = $draw->getOpacity();
32 $delta = abs($opacity - $opacityToSet);
34 …echo "Failed to get correct opacity, it should be $opacityToSet but got $opacity, which is a delta…
H A D156_Imagick_tintImage_basic.phpt20 $opacity = new \ImagickPixel("rgb(128, 128, 128, $a)");
21 $imagick->tintImage($tint, $opacity);
/imagick/
H A Dimagickdraw_class.c414 double opacity; in PHP_METHOD() local
427 DrawSetFillAlpha(internd->drawing_wand, opacity); in PHP_METHOD()
481 double opacity; in PHP_METHOD() local
1480 double opacity; local
1489 RETVAL_DOUBLE(opacity);
1721 double opacity; local
1730 RETVAL_DOUBLE(opacity);
2745 double opacity; local
2838 double opacity; local
2847 RETURN_DOUBLE(opacity);
[all …]
H A DImagickDraw.stub.php345 public function setFillOpacity(float $opacity): bool {} argument
369 public function setStrokeOpacity(float $opacity): bool {} argument
384 public function setOpacity(float $opacity): bool {} argument
H A DImagickDraw_arginfo.h1307 ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0)
1309 ZEND_ARG_INFO(0, opacity)
1477 ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0)
1479 ZEND_ARG_INFO(0, opacity)
H A DImagick.stub.php116 public function setImageOpacity(float $opacity): bool {} argument
635 public function shadowImage(float $opacity, float $sigma, int $x, int $y): bool {} argument
H A DImagick_arginfo.h497 ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0)
499 ZEND_ARG_INFO(0, opacity)
2748 ZEND_ARG_TYPE_INFO(0, opacity, IS_DOUBLE, 0)
2750 ZEND_ARG_INFO(0, opacity)
H A Dimagick_class.c779 double opacity; in PHP_METHOD() local
784 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &opacity) == FAILURE) { in PHP_METHOD()
792 status = MagickSetImageOpacity(intern->magick_wand, opacity); in PHP_METHOD()
10837 double opacity, sigma; local
10840 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ddll", &opacity, &sigma, &x, &y) == FAILURE)…
10848 status = MagickShadowImage(intern->magick_wand, opacity, sigma, x, y);
H A DChangeLog167 * ImagickDraw::setOpacity(float opacity) :bool

Completed in 66 milliseconds