File: gmagickdraw-031-setdashstrokearray_getdashstrokearray.phpt

package info (click to toggle)
php-gmagick 2.0.6~rc1%2B%2B-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,660 kB
  • sloc: ansic: 6,890; php: 330; xml: 267; pascal: 5; makefile: 2
file content (19 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Test set and get stroke dash array
--SKIPIF--
<?php
/* $Id: gmagickdraw-031-setdashstrokearray_getdashstrokearray.phpt 280206 2013-12-14 18:04:00Z vito $ */
if(!extension_loaded('gmagick')) die('skip');
?>
--FILE--
<?php
    $gDraw = new GmagickDraw();
    $gDraw->setStrokeDashArray(array(3, 2));
    print_r($gDraw->getStrokeDashArray());
?>
--EXPECT--
Array
(
    [0] => 3
    [1] => 2
)