Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 15 of 15) sorted by relevance

/imagick/tests/
H A D244_Tutorial_psychedelicFontGif_basic.phpt21 $scale = 0.25;
29 $draw->setfontsize(150 * $scale);
36 $draw->setStrokeWidth($strokeWidth * 3 * $scale);
37 $draw->annotation((int)(60 * $scale), (int)(165 * $scale), $name);
43 $draw->annotation(60 * $scale, 165 * $scale, $name);
47 $imagick->newImage((int)(650 * $scale), (int)(230 * $scale), "#eee");
H A D196_ImagickDraw_scale_basic.phpt2 Test ImagickDraw, scale
13 function scale($strokeColor, $fillColor, $backgroundColor, $fillModifiedColor) {
21 $draw->scale(1.4, 1.4);
33 scale($strokeColor, $fillColor, $backgroundColor, $fillModifiedColor) ;
H A D234_Tutorial_edgeExtend_basic.phpt28 //Now scale, rotate, translate (aka affine project) it
32 ($originalWidth / $desiredWidth), 0, //Don't scale vertically
H A D055_Imagick_distortImage_ScaleRotateTransform.phpt16 1.5, # scale 150%
H A D081_Imagick_getImageHistogram_basic.phpt80 $scale = $histogramHeight / $max;
89 $draw->line($index, $offset, $index, $offset - ($value * $scale));
H A D242_Tutorial_levelizeImage_basic.phpt21 //Adjust the scale from black to white to the new 'distance' between black and white
H A D145_imagickkernel_coverage.phpt21 $kernel->scale(1, \Imagick::NORMALIZE_KERNEL_VALUE);
157 $kernel->scale(1, \Imagick::NORMALIZE_KERNEL_VALUE);
/imagick/
H A DImagickKernel.stub.php10 public function addUnityKernel(float $scale): void {} argument
20 public function scale(float $scale, ?int $normalize_kernel = null): void {} argument
H A DImagickKernel_arginfo.h27 ZEND_ARG_TYPE_INFO(0, scale, IS_DOUBLE, 0)
29 ZEND_ARG_INFO(0, scale)
101 ZEND_ARG_TYPE_INFO(0, scale, IS_DOUBLE, 0)
103 ZEND_ARG_INFO(0, scale)
136 ZEND_METHOD(ImagickKernel, scale);
160 ZEND_ME(ImagickKernel, scale, arginfo_class_ImagickKernel_scale, ZEND_ACC_PUBLIC)
H A Dimagickkernel_class.c820 PHP_METHOD(ImagickKernel, scale) in PHP_METHOD() argument
823 double scale; in PHP_METHOD() local
826 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d|l", &scale, &normalize_flag) == FAILURE) { in PHP_METHOD()
832 ScaleKernelInfo(internp->kernel_info, scale, normalize_flag); in PHP_METHOD()
850 double scale; in PHP_METHOD() local
852 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "d", &scale) == FAILURE) { in PHP_METHOD()
858 UnityAddKernelInfo(internp->kernel_info, scale); in PHP_METHOD()
H A DImagickDraw.stub.php332 public function scale(float $x, float $y): bool {} function in ImagickDraw
H A Dphp_imagick_defs.h1080 PHP_METHOD(imagickdraw, scale);
1174 PHP_METHOD(imagickkernel, scale);
H A DImagickDraw_arginfo.h1722 ZEND_METHOD(ImagickDraw, scale);
1898 ZEND_ME(ImagickDraw, scale, arginfo_class_ImagickDraw_scale, ZEND_ACC_PUBLIC)
H A Dimagickdraw_class.c2463 PHP_METHOD(ImagickDraw, scale) argument
H A Dimagick_class.c6850 add_assoc_long(&tmp, "scale", statistics[i].scale);
6862 add_assoc_long(&tmp, "scale", statistics[i].scale);
6877 add_assoc_long(&tmp, "scale", statistics[channels[i]].scale);
6889 add_assoc_long(&tmp, "scale", statistics[channels[i]].scale);

Completed in 58 milliseconds