/imagick/tests/ |
H A D | 043_Imagick_colorizeImage_basic.phpt | 12 $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 D | 003_cast_color_opacity.phpt | 2 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 D | 045_Imagick_compositeImage_basic.phpt | 30 $opacity = new \Imagick(); 31 $opacity->newPseudoImage( 36 $opacity->rotateimage('black', 90); 38 $img2->compositeImage($opacity, \Imagick::COMPOSITE_COPYOPACITY, 0, 0);
|
H A D | 265_ImagickDraw_getOpacity_basic.phpt | 30 $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 D | 156_Imagick_tintImage_basic.phpt | 20 $opacity = new \ImagickPixel("rgb(128, 128, 128, $a)"); 21 $imagick->tintImage($tint, $opacity);
|
/imagick/ |
H A D | imagickdraw_class.c | 414 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 D | ImagickDraw.stub.php | 345 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 D | ImagickDraw_arginfo.h | 1307 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 D | Imagick.stub.php | 116 public function setImageOpacity(float $opacity): bool {} argument 635 public function shadowImage(float $opacity, float $sigma, int $x, int $y): bool {} argument
|
H A D | Imagick_arginfo.h | 497 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 D | imagick_class.c | 779 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 D | ChangeLog | 167 * ImagickDraw::setOpacity(float opacity) :bool
|