/imagick/tests/ |
H A D | 181_ImagickDraw_pathStart_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeOpacity(1); 20 $draw->setStrokeWidth(2); 21 $draw->setFontSize(72); 23 $draw->pathStart(); 28 $draw->pathFinish(); 30 $draw->pathStart(); 36 $draw->pathclose(); 37 $draw->pathFinish(); 39 $draw->pathStart(); [all …]
|
H A D | 188_ImagickDraw_pushPattern_basic.phpt | 13 $draw = new \ImagickDraw(); 17 $draw->setStrokeWidth(1); 18 $draw->setStrokeOpacity(1); 22 $draw->setStrokeWidth(1); 31 $draw->popPattern(); 33 $draw->setFillOpacity(0); 35 $draw->setFillOpacity(1); 37 $draw->setFillOpacity(1); 39 $draw->push(); 43 $draw->pop(); [all …]
|
H A D | 193_ImagickDraw_pushPattern_basic.phpt | 13 $draw = new \ImagickDraw(); 17 $draw->setStrokeWidth(1); 18 $draw->setStrokeOpacity(1); 22 $draw->setStrokeWidth(1); 31 $draw->popPattern(); 33 $draw->setFillOpacity(0); 35 $draw->setFillOpacity(1); 37 $draw->setFillOpacity(1); 39 $draw->push(); 43 $draw->pop(); [all …]
|
H A D | 176_ImagickDraw_ellipse_basic.phpt | 14 $draw = new \ImagickDraw(); 18 $draw->setStrokeWidth(2); 19 $draw->setFontSize(72); 24 $draw->push(); 25 $draw->translate(125, 250); 26 $draw->rotate(30); 28 $draw->pop(); 30 $draw->push(); 31 $draw->translate(350, 250); 32 $draw->rotate(30); [all …]
|
H A D | 177_ImagickDraw_composite_basic.phpt | 19 $draw = new \ImagickDraw(); 21 setFontForImagickDraw($draw); 25 $draw->setFillOpacity(1); 26 $draw->setStrokeWidth(2); 27 $draw->setFontSize(72); 28 $draw->setStrokeOpacity(1); 30 $draw->setStrokeWidth(2); 31 $draw->setFontSize(140); 33 $draw->setFillColor('white'); 34 $draw->setfillopacity(1); [all …]
|
H A D | 220_ImagickDraw_setStrokeOpacity_basic.phpt | 13 $draw = new \ImagickDraw(); 15 $draw->setStrokeWidth(1); 17 $draw->setFillColor($fillColor); 18 $draw->setStrokeWidth(10); 19 $draw->setStrokeOpacity(1); 20 $draw->line(100, 80, 400, 125); 22 $draw->setStrokeOpacity(0.5); 23 $draw->line(100, 100, 400, 145); 25 $draw->setStrokeOpacity(0.2); 26 $draw->line(100, 120, 400, 165); [all …]
|
H A D | 209_ImagickDraw_setFontWeight_basic.phpt | 19 $draw = new \ImagickDraw(); 20 setFontForImagickDraw($draw); 22 $draw->setStrokeColor($strokeColor); 23 $draw->setFillColor($fillColor); 25 $draw->setStrokeWidth(1); 27 $draw->setFontSize(36); 29 $draw->setFontWeight(100); 32 $draw->setFontWeight(200); 35 $draw->setFontWeight(400); 38 $draw->setFontWeight(800); [all …]
|
H A D | 207_ImagickDraw_setFontFamily_basic.phpt | 19 $draw = new \ImagickDraw(); 20 setFontForImagickDraw($draw); 25 $draw->setStrokeColor($strokeColor); 26 $draw->setFillColor($fillColor); 28 $draw->setStrokeWidth(2); 30 $draw->setFontSize(24); 33 $draw->setFontSize(36); 36 $draw->setFontSize(48); 39 $draw->setFontSize(60); 42 $draw->setFontSize(72); [all …]
|
H A D | 214_ImagickDraw_setStrokeDashOffset_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 18 $draw->setStrokeWidth(4); 20 $draw->setStrokeDashOffset(0); 21 $draw->rectangle(100, 50, 225, 175); 24 $draw->setStrokeDashOffset(10); 25 $draw->rectangle(275, 50, 400, 175); 28 $draw->setStrokeDashOffset(20); 30 $draw->setStrokeDashOffset(5); [all …]
|
H A D | 222_ImagickDraw_setTextAlignment_basic.phpt | 18 $draw = new \ImagickDraw(); 19 setFontForImagickDraw($draw); 20 $draw->setStrokeColor($strokeColor); 21 $draw->setFillColor($fillColor); 22 $draw->setStrokeWidth(1); 23 $draw->setFontSize(36); 26 $draw->annotation(250, 75, "Lorem Ipsum!"); 28 $draw->annotation(250, 150, "Lorem Ipsum!"); 30 $draw->annotation(250, 225, "Lorem Ipsum!"); 31 $draw->line(250, 0, 250, 500); [all …]
|
H A D | 216_ImagickDraw_setStrokeDashArray_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 18 $draw->setStrokeWidth(4); 20 $draw->setStrokeDashArray(array(10, 10)); 21 $draw->rectangle(100, 50, 225, 175); 24 $draw->rectangle(275, 50, 400, 175); 26 $draw->setStrokeDashArray(array(20, 5, 20, 5, 5)); 27 $draw->rectangle(100, 200, 225, 350); 31 $draw->rectangle(275, 200, 400, 350); [all …]
|
H A D | 199_ImagickDraw_setClipRule_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 18 $draw->setStrokeOpacity(1); 19 $draw->setStrokeWidth(2); 24 $draw->pushClipPath($clipPathName); 27 $draw->rectangle(0, 0, 300, 500); 29 $draw->popClipPath(); 30 $draw->setClipPath($clipPathName); 33 $clipRule = $draw->getClipRule(); [all …]
|
H A D | 190_ImagickDraw_popDefs_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 18 $draw->setstrokeOpacity(1); 19 $draw->setStrokeWidth(2); 20 $draw->setFontSize(72); 21 $draw->pushDefs(); 22 $draw->setStrokeColor('white'); 23 $draw->rectangle(50, 50, 200, 200); 24 $draw->popDefs(); [all …]
|
H A D | 210_ImagickDraw_setFontStyle_basic.phpt | 18 $draw = new \ImagickDraw(); 19 setFontForImagickDraw($draw); 21 $draw->setStrokeColor($strokeColor); 22 $draw->setFillColor($fillColor); 23 $draw->setStrokeWidth(1); 24 $draw->setFontSize(36); 25 $draw->setFontStyle(\Imagick::STYLE_NORMAL); 26 $draw->annotation(50, 50, "Lorem Ipsum!"); 29 $draw->annotation(50, 100, "Lorem Ipsum!"); 32 $draw->annotation(50, 150, "Lorem Ipsum!"); [all …]
|
H A D | 187_ImagickDraw_push_basic.phpt | 15 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 18 $draw->setStrokeWidth(2); 19 $draw->setFontSize(72); 20 $draw->push(); 21 $draw->translate(50, 50); 22 $draw->rectangle(200, 200, 300, 300); 23 $draw->pop(); 24 $draw->setFillColor($fillColor); 25 $draw->rectangle(200, 200, 300, 300); [all …]
|
H A D | 191_ImagickDraw_push_basic.phpt | 15 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 18 $draw->setStrokeWidth(2); 19 $draw->setFontSize(72); 20 $draw->push(); 21 $draw->translate(50, 50); 22 $draw->rectangle(200, 200, 300, 300); 23 $draw->pop(); 24 $draw->setFillColor($fillColor); 25 $draw->rectangle(200, 200, 300, 300); [all …]
|
H A D | 200_ImagickDraw_setClipUnits_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 18 $draw->setStrokeOpacity(1); 19 $draw->setStrokeWidth(2); 22 $draw->pushClipPath($clipPathName); 23 $draw->rectangle(0, 0, 250, 250); 24 $draw->popClipPath(); 25 $draw->setClipPath($clipPathName); 30 $draw->rectangle(200, 200, 300, 300); [all …]
|
H A D | 192_ImagickDraw_setClipPath_basic.phpt | 14 $draw = new \ImagickDraw(); 15 $draw->setStrokeColor($strokeColor); 16 $draw->setFillColor($fillColor); 17 $draw->setStrokeOpacity(1); 18 $draw->setStrokeWidth(2); 22 $draw->pushClipPath($clipPathName); 23 $draw->rectangle(0, 0, 250, 250); 24 $draw->popClipPath(); 25 $draw->setClipPath($clipPathName); 26 $draw->rectangle(100, 100, 400, 400); [all …]
|
H A D | 198_ImagickDraw_setClipPath_basic.phpt | 14 $draw = new \ImagickDraw(); 15 $draw->setStrokeColor($strokeColor); 16 $draw->setFillColor($fillColor); 17 $draw->setStrokeOpacity(1); 18 $draw->setStrokeWidth(2); 22 $draw->pushClipPath($clipPathName); 23 $draw->rectangle(0, 0, 250, 250); 24 $draw->popClipPath(); 25 $draw->setClipPath($clipPathName); 26 $draw->rectangle(100, 100, 400, 400); [all …]
|
H A D | 211_ImagickDraw_setStrokeAntialias_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 18 $draw->setStrokeWidth(1); 19 $draw->setStrokeAntialias(false); 20 $draw->line(100, 100, 400, 105); 22 $draw->line(100, 140, 400, 185); 24 $draw->setStrokeAntialias(true); 25 $draw->line(100, 110, 400, 115); 26 $draw->line(100, 150, 400, 195); [all …]
|
H A D | 189_ImagickDraw_setClipPath_basic.phpt | 14 $draw = new \ImagickDraw(); 15 $draw->setStrokeColor($strokeColor); 16 $draw->setFillColor($fillColor); 17 $draw->setStrokeOpacity(1); 18 $draw->setStrokeWidth(2); 22 $draw->pushClipPath($clipPathName); 23 $draw->rectangle(0, 0, 250, 250); 24 $draw->popClipPath(); 25 $draw->setClipPath($clipPathName); 26 $draw->rectangle(100, 100, 400, 400); [all …]
|
H A D | 215_ImagickDraw_setStrokeColor_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 19 $draw->setStrokeWidth(5); 21 $draw->line(100, 100, 400, 145); 22 $draw->rectangle(100, 200, 225, 350); 24 $draw->setStrokeOpacity(0.1); 25 $draw->line(100, 120, 400, 165); 26 $draw->rectangle(275, 200, 400, 350); 32 $image->drawImage($draw);
|
H A D | 213_ImagickDraw_setStrokeAlpha_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeColor($strokeColor); 17 $draw->setFillColor($fillColor); 18 $draw->setStrokeWidth(4); 19 $draw->line(100, 100, 400, 145); 20 $draw->rectangle(100, 200, 225, 350); 21 $draw->setStrokeOpacity(0.1); 22 $draw->line(100, 120, 400, 165); 23 $draw->rectangle(275, 200, 400, 350); 29 $image->drawImage($draw);
|
H A D | 221_ImagickDraw_setStrokeWidth_basic.phpt | 14 $draw = new \ImagickDraw(); 16 $draw->setStrokeWidth(1); 17 $draw->setStrokeColor($strokeColor); 18 $draw->setFillColor($fillColor); 19 $draw->line(100, 100, 400, 145); 20 $draw->rectangle(100, 200, 225, 350); 21 $draw->setStrokeWidth(5); 22 $draw->line(100, 120, 400, 165); 23 $draw->rectangle(275, 200, 400, 350); 28 $image->drawImage($draw);
|
H A D | 244_Tutorial_psychedelicFontGif_basic.phpt | 25 $draw = new \ImagickDraw(); 26 setFontForImagickDraw($draw); 28 $draw->setStrokeOpacity(1); 29 $draw->setfontsize(150 * $scale); 34 $draw->setStrokeColor($color); 35 $draw->setFillColor($color); 40 $draw->setStrokeColor('none'); 41 $draw->setFillColor('black'); 42 $draw->setStrokeWidth(0); 43 $draw->annotation(60 * $scale, 165 * $scale, $name); [all …]
|