/imagick/tests/ |
H A D | 145_imagickkernel_coverage.phpt | 14 $kernel = array( 15 array(1, 0, -1), 16 array(1, 0, -1), 17 array(1, 0, -1), 36 array() 41 array(0, 1, 1) 47 array( 50 array(1, 0), 57 array( 66 array( [all …]
|
H A D | 173_ImagickDraw_bezier_basic.phpt | 25 $smoothPointsSet = array( 26 array( 32 array( 45 $disjointPoints = array( 46 array( 47 array('x' => 10 * 5, 'y' => 10 * 5), 48 array('x' => 30 * 5, 'y' => 90 * 5), 49 array('x' => 25 * 5, 'y' => 10 * 5), 50 array('x' => 50 * 5, 'y' => 50 * 5), 52 array( [all …]
|
H A D | 025-get-color.phpt | 71 $tests = array( 72 array( 75 array( 80 array( 83 array( 88 array( 91 array( 101 $tests[] = array( 104 array( 110 $tests[] = array( [all …]
|
H A D | 024-ispixelsimilar.phpt | 11 $tests = array( 12 array ('rgb(245, 0, 0)', 'rgb(255, 0, 0)', 9 / $root3, false,), 13 array ('rgb(245, 0, 0)', 'rgb(255, 0, 0)', 10 / $root3, true,), 14 array ('rgb(0, 0, 0)', 'rgb(7, 7, 0)', 9 / $root3, false,), 15 array ('rgb(0, 0, 0)', 'rgb(7, 7, 0)', 10 / $root3, true,), 16 array ('rgba(0, 0, 0, 1)', 'rgba(7, 7, 0, 1)', 9 / $root3, false,), 17 array ('rgba(0, 0, 0, 1)', 'rgba(7, 7, 0, 1)', 10 / $root3, true,), 18 array ('rgb(128, 128, 128)', 'rgb(128, 128, 120)', 7 / $root3, false,), 19 array ('rgb(128, 128, 128)', 'rgb(128, 128, 120)', 8 / $root3, true,), 22 array ('rgb(0, 0, 0)', 'rgb(255, 255, 255)', 255, true,), [all …]
|
H A D | 149_Imagick_sparseColorImage.phpt | 20 $barycentricPoints = array(); 67 $points = array( 68 array(0, 0, 'skyblue'), 69 array(-1, 1, 'skyblue'), 70 array(1, 1, 'black'), 78 $points = array( 79 array(0.30, 0.10, 'red'), 80 array(0.10, 0.80, 'blue'), 90 $points = array( 103 $points = array( [all …]
|
H A D | 280_imagickkernel_exception_invalid_origin.phpt | 14 $kernelArray = array( 15 array(1, 0, -1), 16 array(1, 0, -1), 17 array(1, 0, -1), 66 $flatKernelArray = array( 67 array(1, 0, -2, 0, 1), 87 array(1), 88 array(0), 89 array(-2), 90 array(0), [all …]
|
H A D | 011_polygon.phpt | 12 $draw->polygon(array( 13 array('x' => 1, 'y' => 2), 14 array('x' => 'hello', 'y' => array()) 24 $draw->polygon(array(array()));
|
H A D | 010_importimagepixels.phpt | 14 /* Generate array of pixels. 2000 pixels per color stripe */ 18 array_merge(array_pad(array(), $count, 0), 19 array_pad(array(), $count, 255), 20 array_pad(array(), $count, 0), 21 array_pad(array(), $count, 255), 22 array_pad(array(), $count, 0)); 43 array(2) {
|
H A D | 006_cropthumbnail.phpt | 34 array(2) { 40 array(2) { 46 array(2) { 52 array(2) { 58 array(2) { 64 array(2) {
|
H A D | 016-static-methods.phpt | 20 array 21 array 22 array 23 array
|
H A D | 219_ImagickDraw_setStrokeLineJoin_basic.phpt | 23 …$lineJoinStyle = array(\Imagick::LINEJOIN_MITER, \Imagick::LINEJOIN_ROUND, \Imagick::LINEJOIN_BEVE… 27 $points = array( 28 array('x' => 40 * 5, 'y' => 10 * 5 + $x * $offset), 29 array('x' => 20 * 5, 'y' => 20 * 5 + $x * $offset), 30 array('x' => 70 * 5, 'y' => 50 * 5 + $x * $offset), 31 array('x' => 40 * 5, 'y' => 10 * 5 + $x * $offset),
|
H A D | 186_ImagickDraw_polygon_basic.phpt | 22 $points = array( 23 array('x' => 40 * 5, 'y' => 10 * 5), 24 array('x' => 20 * 5, 'y' => 20 * 5), 25 array('x' => 70 * 5, 'y' => 50 * 5), 26 array('x' => 60 * 5, 'y' => 15 * 5),
|
H A D | 184_ImagickDraw_polyline_basic.phpt | 21 $points = array( 22 array('x' => 40 * 5, 'y' => 10 * 5), 23 array('x' => 20 * 5, 'y' => 20 * 5), 24 array('x' => 70 * 5, 'y' => 50 * 5), 25 array('x' => 60 * 5, 'y' => 15 * 5)
|
H A D | 047_Imagick_convolveImage_7.phpt | 12 $kernelMatrix = array ( 13 array (-1, -1, -1), 14 array (-1, 8, -1), 15 array( -1, -1, -1),
|
H A D | 216_ImagickDraw_setStrokeDashArray_basic.phpt | 20 $draw->setStrokeDashArray(array(10, 10)); 23 $draw->setStrokeDashArray(array(20, 5, 20, 5, 5, 5,)); 26 $draw->setStrokeDashArray(array(20, 5, 20, 5, 5)); 29 …$draw->setStrokeDashArray(array(1, 1, 1, 1, 2, 2, 3, 3, 5, 5, 8, 8, 13, 13, 21, 21, 34, 34, 55, 55…
|
H A D | 008_newpseudoimage.phpt | 30 array(2) { 36 array(2) { 42 array(2) { 48 array(2) {
|
H A D | 114_Imagick_scaleImage_basic.phpt | 12 $tests = array( 13 array(200, 200, true, 200, 150), 14 array(200, 200, false, 200, 200), 15 array(200, 0, false, 200, 150),
|
H A D | 019-readimages.phpt | 9 $imagick = new Imagick(array ( 21 $imagick = new Imagick(array ( 27 $imagick->readImages (array ( 34 $imagick->readImages (array (
|
H A D | 274_imagick_setImageAlpha.phpt | 22 $pixelTypes = array( 23 Imagick::PIXEL_CHAR => array(128, 0, 128, 128), 24 Imagick::PIXEL_FLOAT => array(0.50196081399918, 0, 0.50196081399918, 0.5), 25 Imagick::PIXEL_DOUBLE => array(0.50196078431373, 0, 0.50196078431373, 0.5), 26 Imagick::PIXEL_SHORT => array(32896, 0, 32896, 32768),
|
H A D | 174_ImagickDraw_affine_basic.phpt | 27 $affineScale = array("sx" => 1.75, "sy" => 1.75, "rx" => 0, "ry" => 0, "tx" => 0, "ty" => 0); 30 …$affineShear = array("sx" => 1, "sy" => 1, "rx" => sin($angle), "ry" => -sin($angle), "tx" => 0, "… 34 …$affineRotate = array("sx" => cos($angle), "sy" => cos($angle), "rx" => sin($angle), "ry" => -sin(… 37 $affineTranslate = array("sx" => 1, "sy" => 1, "rx" => 0, "ry" => 0, "tx" => 30, "ty" => 30); 40 $affineIdentity = array("sx" => 1, "sy" => 1, "rx" => 0, "ry" => 0, "tx" => 0, "ty" => 0); 42 … $examples = array($affineScale, $affineShear, $affineRotate, $affineTranslate, $affineIdentity,);
|
H A D | 217_ImagickDraw_setStrokeMiterLimit_basic.phpt | 29 $points = array( 30 array('x' => 22 * 3, 'y' => 15 * 4 + $y * $yOffset), 31 array('x' => 20 * 3, 'y' => 20 * 4 + $y * $yOffset), 32 array('x' => 70 * 5, 'y' => 45 * 4 + $y * $yOffset),
|
H A D | 107_Imagick_recolorImage_basic.phpt | 7 checkClassMethods('Imagick', array('recolorImage')); 16 $remapColor = array(
|
H A D | 269_ImagickPixel_setColorFromPixel_basic.phpt | 6 checkClassMethods('ImagickPixel', array('setColorFromPixel')); 18 $expected = array(
|
H A D | 059_Imagick_distortImage_Polar.phpt | 16 $points = array( 21 // $points = array(
|
/imagick/examples/ |
H A D | polygon.php | 16 $array = array( array( "x" => 378.1, "y" => 81.72 ), variable 63 $ImagickDraw->polygon( $array );
|