Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 99) sorted by relevance

1234

/imagick/tests/
H A D145_imagickkernel_coverage.phpt14 $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 D173_ImagickDraw_bezier_basic.phpt25 $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 D025-get-color.phpt71 $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 D024-ispixelsimilar.phpt11 $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 D149_Imagick_sparseColorImage.phpt20 $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 D280_imagickkernel_exception_invalid_origin.phpt14 $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 D011_polygon.phpt12 $draw->polygon(array(
13 array('x' => 1, 'y' => 2),
14 array('x' => 'hello', 'y' => array())
24 $draw->polygon(array(array()));
H A D010_importimagepixels.phpt14 /* 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 D006_cropthumbnail.phpt34 array(2) {
40 array(2) {
46 array(2) {
52 array(2) {
58 array(2) {
64 array(2) {
H A D016-static-methods.phpt20 array
21 array
22 array
23 array
H A D219_ImagickDraw_setStrokeLineJoin_basic.phpt23 …$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 D186_ImagickDraw_polygon_basic.phpt22 $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 D184_ImagickDraw_polyline_basic.phpt21 $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 D047_Imagick_convolveImage_7.phpt12 $kernelMatrix = array (
13 array (-1, -1, -1),
14 array (-1, 8, -1),
15 array( -1, -1, -1),
H A D216_ImagickDraw_setStrokeDashArray_basic.phpt20 $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 D008_newpseudoimage.phpt30 array(2) {
36 array(2) {
42 array(2) {
48 array(2) {
H A D114_Imagick_scaleImage_basic.phpt12 $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 D019-readimages.phpt9 $imagick = new Imagick(array (
21 $imagick = new Imagick(array (
27 $imagick->readImages (array (
34 $imagick->readImages (array (
H A D274_imagick_setImageAlpha.phpt22 $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 D174_ImagickDraw_affine_basic.phpt27 $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 D217_ImagickDraw_setStrokeMiterLimit_basic.phpt29 $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 D107_Imagick_recolorImage_basic.phpt7 checkClassMethods('Imagick', array('recolorImage'));
16 $remapColor = array(
H A D269_ImagickPixel_setColorFromPixel_basic.phpt6 checkClassMethods('ImagickPixel', array('setColorFromPixel'));
18 $expected = array(
H A D059_Imagick_distortImage_Polar.phpt16 $points = array(
21 // $points = array(
/imagick/examples/
H A Dpolygon.php16 $array = array( array( "x" => 378.1, "y" => 81.72 ), variable
63 $ImagickDraw->polygon( $array );

Completed in 23 milliseconds

1234