From f935327960fa7eb19d8c4805a8a1b3f1c96f6b21 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 31 Jan 2016 17:58:09 +0100 Subject: php-pecl-gmagick: 2.0.1RC2 (php 7, beta) --- REFLECTION-PHP7 | 1067 +++++++++++++++++++++++++++++++++++++------- hald_8.png | Bin 0 -> 10646 bytes php-pecl-gmagick-php7.spec | 26 +- 3 files changed, 934 insertions(+), 159 deletions(-) create mode 100644 hald_8.png diff --git a/REFLECTION-PHP7 b/REFLECTION-PHP7 index 5465616..9435e07 100644 --- a/REFLECTION-PHP7 +++ b/REFLECTION-PHP7 @@ -1,4 +1,4 @@ -Extension [ extension #56 gmagick version 2.0.1RC1 ] { +Extension [ extension #59 gmagick version 2.0.1RC2 ] { - Classes [5] { Class [ final class GmagickException extends Exception implements Throwable ] { @@ -117,7 +117,7 @@ Extension [ extension #56 gmagick version 2.0.1RC1 ] { Class [ class Gmagick ] { - - Constants [247] { + - Constants [249] { Constant [ integer COLOR_BLACK ] { 11 } Constant [ integer COLOR_BLUE ] { 12 } Constant [ integer COLOR_CYAN ] { 13 } @@ -214,6 +214,10 @@ Extension [ extension #56 gmagick version 2.0.1RC1 ] { Constant [ integer COMPRESSION_LZW ] { 7 } Constant [ integer COMPRESSION_RLE ] { 8 } Constant [ integer COMPRESSION_ZIP ] { 9 } + Constant [ integer INTERLACE_NONE ] { 1 } + Constant [ integer INTERLACE_LINE ] { 2 } + Constant [ integer INTERLACE_PLANE ] { 3 } + Constant [ integer INTERLACE_PARTITION ] { 4 } Constant [ integer PAINT_POINT ] { 0 } Constant [ integer PAINT_REPLACE ] { 1 } Constant [ integer PAINT_FLOODFILL ] { 2 } @@ -334,9 +338,6 @@ Extension [ extension #56 gmagick version 2.0.1RC1 ] { Constant [ integer RENDERINGINTENT_RELATIVE ] { 4 } Constant [ integer INTERLACE_UNDEFINED ] { 0 } Constant [ integer INTERLACE_NO ] { 1 } - Constant [ integer INTERLACE_LINE ] { 2 } - Constant [ integer INTERLACE_PLANE ] { 3 } - Constant [ integer INTERLACE_PARTITION ] { 4 } Constant [ integer FILLRULE_UNDEFINED ] { 0 } Constant [ integer FILLRULE_EVENODD ] { 1 } Constant [ integer FILLRULE_NONZERO ] { 2 } @@ -362,6 +363,7 @@ Extension [ extension #56 gmagick version 2.0.1RC1 ] { Constant [ integer DISPOSE_BACKGROUND ] { 2 } Constant [ integer DISPOSE_PREVIOUS ] { 3 } Constant [ integer QUANTUM_DEPTH ] { 16 } + Constant [ integer QUANTUM ] { 131071 } Constant [ string VERSION_TXT ] { 1.3.23 } Constant [ integer VERSION_LIB ] { 1512449 } Constant [ integer VERSION_NUM ] { 1003023 } @@ -376,7 +378,7 @@ Extension [ extension #56 gmagick version 2.0.1RC1 ] { - Properties [0] { } - - Methods [164] { + - Methods [209] { Method [ public method __construct ] { - Parameters [1] { @@ -553,9 +555,11 @@ Extension [ extension #56 gmagick version 2.0.1RC1 ] { Method [ public method cropthumbnailimage ] { - - Parameters [2] { + - Parameters [4] { Parameter #0 [ $width ] Parameter #1 [ $height ] + Parameter #2 [ $fit ] + Parameter #3 [ $legacy ] } } @@ -1539,371 +1543,1124 @@ Extension [ extension #56 gmagick version 2.0.1RC1 ] { Parameter #0 [ $filename ] } } - } - } - Class [ class GmagickDraw ] { + Method [ public method adaptivethresholdimage ] { - - Constants [0] { - } + - Parameters [3] { + Parameter #0 [ $width ] + Parameter #1 [ $height ] + Parameter #2 [ $offset ] + } + } - - Static properties [0] { - } + Method [ public method affinetransformimage ] { - - Static methods [0] { - } + - Parameters [1] { + Parameter #0 [ GmagickDraw $GmagickDraw ] + } + } - - Properties [0] { - } + Method [ public method averageimages ] { - - Methods [49] { - Method [ public method setstrokecolor ] { + - Parameters [0] { + } + } + + Method [ public method blackthresholdimage ] { - Parameters [1] { Parameter #0 [ $color ] } } - Method [ public method setstrokewidth ] { + Method [ public method colordecisionlist ] { - Parameters [1] { - Parameter #0 [ $width ] + Parameter #0 [ $antialias ] } } - Method [ public method setfillcolor ] { + Method [ public method clipimage ] { - - Parameters [1] { - Parameter #0 [ $color ] + - Parameters [0] { } } - Method [ public method setgravity ] { + Method [ public method clippathimage ] { - - Parameters [1] { - Parameter #0 [ $gravity ] + - Parameters [2] { + Parameter #0 [ $pathname ] + Parameter #1 [ $inside ] } } - Method [ public method ellipse ] { + Method [ public method colorfloodfillimage ] { - - Parameters [6] { - Parameter #0 [ $ox ] - Parameter #1 [ $oy ] - Parameter #2 [ $px ] - Parameter #3 [ $py ] - Parameter #4 [ $start ] - Parameter #5 [ $end ] + - Parameters [5] { + Parameter #0 [ $fill_color ] + Parameter #1 [ $fuzz ] + Parameter #2 [ $border_color ] + Parameter #3 [ $y ] + Parameter #4 [ $x ] } } - Method [ public method affine ] { + Method [ public method colorizeimage ] { - - Parameters [1] { - Parameter #0 [ $affineMatrix ] + - Parameters [2] { + Parameter #0 [ $colorize_color ] + Parameter #1 [ $opacity ] } } - Method [ public method annotate ] { + Method [ public method compareimagechannels ] { - Parameters [3] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] - Parameter #2 [ $text ] + Parameter #0 [ Gmagick $Gmagick ] + Parameter #1 [ $channel ] + Parameter #2 [ $metric ] } } - Method [ public method arc ] { + Method [ public method compareimages ] { - - Parameters [6] { - Parameter #0 [ $sx ] - Parameter #1 [ $sy ] - Parameter #2 [ $ex ] - Parameter #3 [ $ey ] - Parameter #4 [ $sd ] - Parameter #5 [ $ed ] + - Parameters [2] { + Parameter #0 [ Gmagick $Gmagick ] + Parameter #1 [ $metric ] } } - Method [ public method bezier ] { + Method [ public method contrastimage ] { - Parameters [1] { - Parameter #0 [ $coordinate_array ] + Parameter #0 [ $sharpen ] } } - Method [ public method getfillcolor ] { + Method [ public method convolveimage ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $kernel ] } } - Method [ public method getgravity ] { + Method [ public method extentimage ] { - - Parameters [0] { + - Parameters [4] { + Parameter #0 [ $width ] + Parameter #1 [ $height ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] } } - Method [ public method getfillopacity ] { + Method [ public method getimageattribute ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $key ] } } - Method [ public method getfont ] { + Method [ public method getimagechannelextrema ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $channel ] } } - Method [ public method getfontsize ] { + Method [ public method getimagechannelmean ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $channel ] } } - Method [ public method getfontstyle ] { + Method [ public method getimagecolormapcolor ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $index ] } } - Method [ public method getfontweight ] { + Method [ public method getimagegravity ] { - Parameters [0] { } } - Method [ public method getstrokeopacity ] { + Method [ public method getimagevirtualpixelmethod ] { - Parameters [0] { } } - Method [ public method getstrokecolor ] { + Method [ public method haldclutimage ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ Gmagick $Gmagick ] } } - Method [ public method getstrokewidth ] { + Method [ public method mattefloodfillimage ] { - - Parameters [0] { + - Parameters [5] { + Parameter #0 [ $alpha ] + Parameter #1 [ $fuzz ] + Parameter #2 [ $color ] + Parameter #3 [ $x ] + Parameter #4 [ $y ] } } - Method [ public method gettextdecoration ] { + Method [ public method montageimage ] { - - Parameters [0] { + - Parameters [5] { + Parameter #0 [ GmagickDraw $GmagickDraw ] + Parameter #1 [ $tile_geometry ] + Parameter #2 [ $thumbnail_geometry ] + Parameter #3 [ $montageMode ] + Parameter #4 [ $frame ] } } - Method [ public method gettextencoding ] { + Method [ public method morphimages ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $frames ] } } - Method [ public method line ] { + Method [ public method mosaicimages ] { - - Parameters [4] { - Parameter #0 [ $sx ] - Parameter #1 [ $sy ] - Parameter #2 [ $ex ] - Parameter #3 [ $ey ] + - Parameters [0] { } } - Method [ public method point ] { + Method [ public method setimageattribute ] { - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] + Parameter #0 [ $key ] + Parameter #1 [ $value ] } } - Method [ public method polygon ] { + Method [ public method setimagecolormapcolor ] { - - Parameters [1] { - Parameter #0 [ $coordinates ] + - Parameters [2] { + Parameter #0 [ $index ] + Parameter #1 [ $color ] } } - Method [ public method polyline ] { + Method [ public method setimagegravity ] { - Parameters [1] { - Parameter #0 [ $coordinate_array ] + Parameter #0 [ $gravity ] } } - Method [ public method rectangle ] { + Method [ public method setimagemattecolor ] { - - Parameters [4] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] + - Parameters [1] { + Parameter #0 [ $color ] } } - Method [ public method rotate ] { + Method [ public method setimagevirtualpixelmethod ] { - Parameters [1] { - Parameter #0 [ $degrees ] + Parameter #0 [ $virtual_pixel_method ] } } - Method [ public method roundrectangle ] { + Method [ public method shaveimage ] { - - Parameters [6] { - Parameter #0 [ $x1 ] - Parameter #1 [ $y1 ] - Parameter #2 [ $x2 ] - Parameter #3 [ $y2 ] - Parameter #4 [ $rx ] - Parameter #5 [ $ry ] + - Parameters [2] { + Parameter #0 [ $columns ] + Parameter #1 [ $rows ] } } - Method [ public method scale ] { + Method [ public method steganoimage ] { - Parameters [2] { - Parameter #0 [ $x ] - Parameter #1 [ $y ] + Parameter #0 [ Gmagick $Gmagick ] + Parameter #1 [ $offset ] } } - Method [ public method setfillopacity ] { + Method [ public method stereoimage ] { - Parameters [1] { - Parameter #0 [ $fill_opacity ] + Parameter #0 [ Gmagick $Gmagick ] } } - Method [ public method setfont ] { + Method [ public method waveimage ] { - - Parameters [1] { - Parameter #0 [ $font ] + - Parameters [2] { + Parameter #0 [ $amplitude ] + Parameter #1 [ $waveLength ] } } - Method [ public method setfontsize ] { + Method [ public method whitethresholdimage ] { - Parameters [1] { - Parameter #0 [ $pointsize ] + Parameter #0 [ $color ] } } - Method [ public method setfontstyle ] { + Method [ public method getimageboundingbox ] { - Parameters [1] { - Parameter #0 [ $STYLE ] + Parameter #0 [ $fuzz ] } } - Method [ public method setfontweight ] { + Method [ public method getimagefuzz ] { - - Parameters [1] { - Parameter #0 [ $weight ] + - Parameters [0] { } } - Method [ public method setstrokeopacity ] { + Method [ public method getimagesavedtype ] { - - Parameters [1] { - Parameter #0 [ $stroke_opacity ] + - Parameters [0] { } } - Method [ public method settextdecoration ] { + Method [ public method setdepth ] { - Parameters [1] { - Parameter #0 [ $DECORATION ] + Parameter #0 [ $depth ] } } - Method [ public method settextencoding ] { + Method [ public method setformat ] { - Parameters [1] { - Parameter #0 [ $encoding ] + Parameter #0 [ $format ] } } - Method [ public method setstrokeantialias ] { + Method [ public method setimagefuzz ] { - Parameters [1] { - Parameter #0 [ $antialias ] + Parameter #0 [ $fuzz ] } } - Method [ public method setstrokedashoffset ] { + Method [ public method setimageoption ] { - - Parameters [1] { - Parameter #0 [ $offset ] + - Parameters [3] { + Parameter #0 [ $format ] + Parameter #1 [ $key ] + Parameter #2 [ $value ] } } - Method [ public method setstrokelinecap ] { + Method [ public method setimagesavedtype ] { - Parameters [1] { - Parameter #0 [ $LINECAP ] + Parameter #0 [ $type ] } } - Method [ public method setstrokelinejoin ] { + Method [ public method setresolutionunits ] { - - Parameters [1] { - Parameter #0 [ $LINEJOIN ] + - Parameters [2] { + Parameter #0 [ $x_resolution ] + Parameter #1 [ $y_resolution ] } } - Method [ public method setstrokemiterlimit ] { + Method [ public method writeimagefile ] { - - Parameters [1] { - Parameter #0 [ $miterLimit ] + - Parameters [2] { + Parameter #0 [ $handle ] + Parameter #1 [ $format ] } } + } + } - Method [ public method getstrokeantialias ] { + Class [ class GmagickDraw ] { - - Parameters [0] { + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [103] { + Method [ public method setstrokecolor ] { + + - Parameters [1] { + Parameter #0 [ $color ] } } - Method [ public method getstrokedashoffset ] { + Method [ public method setstrokewidth ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $width ] } } - Method [ public method getstrokelinecap ] { + Method [ public method setfillcolor ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $color ] } } - Method [ public method getstrokelinejoin ] { + Method [ public method setgravity ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $gravity ] } } - Method [ public method getstrokemiterlimit ] { + Method [ public method ellipse ] { - - Parameters [0] { + - Parameters [6] { + Parameter #0 [ $ox ] + Parameter #1 [ $oy ] + Parameter #2 [ $px ] + Parameter #3 [ $py ] + Parameter #4 [ $start ] + Parameter #5 [ $end ] } } - Method [ public method getstrokedasharray ] { + Method [ public method affine ] { - - Parameters [0] { + - Parameters [1] { + Parameter #0 [ $affineMatrix ] } } - Method [ public method setstrokedasharray ] { + Method [ public method annotate ] { - - Parameters [1] { - Parameter #0 [ $dashArray ] + - Parameters [3] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + Parameter #2 [ $text ] + } + } + + Method [ public method arc ] { + + - Parameters [6] { + Parameter #0 [ $sx ] + Parameter #1 [ $sy ] + Parameter #2 [ $ex ] + Parameter #3 [ $ey ] + Parameter #4 [ $sd ] + Parameter #5 [ $ed ] + } + } + + Method [ public method bezier ] { + + - Parameters [1] { + Parameter #0 [ $coordinate_array ] + } + } + + Method [ public method getfillcolor ] { + + - Parameters [0] { + } + } + + Method [ public method getgravity ] { + + - Parameters [0] { + } + } + + Method [ public method getfillopacity ] { + + - Parameters [0] { + } + } + + Method [ public method getfont ] { + + - Parameters [0] { + } + } + + Method [ public method getfontsize ] { + + - Parameters [0] { + } + } + + Method [ public method getfontstyle ] { + + - Parameters [0] { + } + } + + Method [ public method getfontweight ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokeopacity ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokecolor ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokewidth ] { + + - Parameters [0] { + } + } + + Method [ public method gettextdecoration ] { + + - Parameters [0] { + } + } + + Method [ public method gettextencoding ] { + + - Parameters [0] { + } + } + + Method [ public method line ] { + + - Parameters [4] { + Parameter #0 [ $sx ] + Parameter #1 [ $sy ] + Parameter #2 [ $ex ] + Parameter #3 [ $ey ] + } + } + + Method [ public method point ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method polygon ] { + + - Parameters [1] { + Parameter #0 [ $coordinates ] + } + } + + Method [ public method polyline ] { + + - Parameters [1] { + Parameter #0 [ $coordinate_array ] + } + } + + Method [ public method rectangle ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + } + } + + Method [ public method rotate ] { + + - Parameters [1] { + Parameter #0 [ $degrees ] + } + } + + Method [ public method roundrectangle ] { + + - Parameters [6] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + Parameter #4 [ $rx ] + Parameter #5 [ $ry ] + } + } + + Method [ public method scale ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method setfillopacity ] { + + - Parameters [1] { + Parameter #0 [ $fill_opacity ] + } + } + + Method [ public method setfont ] { + + - Parameters [1] { + Parameter #0 [ $font ] + } + } + + Method [ public method setfontsize ] { + + - Parameters [1] { + Parameter #0 [ $pointsize ] + } + } + + Method [ public method setfontstyle ] { + + - Parameters [1] { + Parameter #0 [ $STYLE ] + } + } + + Method [ public method setfontweight ] { + + - Parameters [1] { + Parameter #0 [ $weight ] + } + } + + Method [ public method setstrokeopacity ] { + + - Parameters [1] { + Parameter #0 [ $stroke_opacity ] + } + } + + Method [ public method settextdecoration ] { + + - Parameters [1] { + Parameter #0 [ $DECORATION ] + } + } + + Method [ public method settextencoding ] { + + - Parameters [1] { + Parameter #0 [ $encoding ] + } + } + + Method [ public method setstrokeantialias ] { + + - Parameters [1] { + Parameter #0 [ $antialias ] + } + } + + Method [ public method setstrokedashoffset ] { + + - Parameters [1] { + Parameter #0 [ $offset ] + } + } + + Method [ public method setstrokelinecap ] { + + - Parameters [1] { + Parameter #0 [ $LINECAP ] + } + } + + Method [ public method setstrokelinejoin ] { + + - Parameters [1] { + Parameter #0 [ $LINEJOIN ] + } + } + + Method [ public method setstrokemiterlimit ] { + + - Parameters [1] { + Parameter #0 [ $miterLimit ] + } + } + + Method [ public method getstrokeantialias ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokedashoffset ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokelinecap ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokelinejoin ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokemiterlimit ] { + + - Parameters [0] { + } + } + + Method [ public method getstrokedasharray ] { + + - Parameters [0] { + } + } + + Method [ public method setstrokedasharray ] { + + - Parameters [1] { + Parameter #0 [ $dashArray ] + } + } + + Method [ public method circle ] { + + - Parameters [4] { + Parameter #0 [ $ox ] + Parameter #1 [ $oy ] + Parameter #2 [ $px ] + Parameter #3 [ $py ] + } + } + + Method [ public method getclippath ] { + + - Parameters [0] { + } + } + + Method [ public method setclippath ] { + + - Parameters [1] { + Parameter #0 [ $clipMask ] + } + } + + Method [ public method getcliprule ] { + + - Parameters [0] { + } + } + + Method [ public method setcliprule ] { + + - Parameters [1] { + Parameter #0 [ $FILLRULE ] + } + } + + Method [ public method getclipunits ] { + + - Parameters [0] { + } + } + + Method [ public method setclipunits ] { + + - Parameters [1] { + Parameter #0 [ $PATHUNITS ] + } + } + + Method [ public method color ] { + + - Parameters [3] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + Parameter #2 [ $PAINTMETHOD ] + } + } + + Method [ public method comment ] { + + - Parameters [1] { + Parameter #0 [ $comment ] + } + } + + Method [ public method setfillpatternurl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method getfillrule ] { + + - Parameters [0] { + } + } + + Method [ public method setfillrule ] { + + - Parameters [1] { + Parameter #0 [ $FILLRULE ] + } + } + + Method [ public method getfontfamily ] { + + - Parameters [0] { + } + } + + Method [ public method setfontfamily ] { + + - Parameters [1] { + Parameter #0 [ $fontfamily ] + } + } + + Method [ public method getfontstretch ] { + + - Parameters [0] { + } + } + + Method [ public method setfontstretch ] { + + - Parameters [1] { + Parameter #0 [ $STRETCH ] + } + } + + Method [ public method pathclose ] { + + - Parameters [0] { + } + } + + Method [ public method pathcurvetoabsolute ] { + + - Parameters [6] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + Parameter #4 [ $x ] + Parameter #5 [ $y ] + } + } + + Method [ public method pathcurvetorelative ] { + + - Parameters [6] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x2 ] + Parameter #3 [ $y2 ] + Parameter #4 [ $x ] + Parameter #5 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbezierabsolute ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbezierrelative ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbeziersmoothabsolute ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathcurvetoquadraticbeziersmoothrelative ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathcurvetosmoothabsolute ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathcurvetosmoothrelative ] { + + - Parameters [4] { + Parameter #0 [ $x1 ] + Parameter #1 [ $y1 ] + Parameter #2 [ $x ] + Parameter #3 [ $y ] + } + } + + Method [ public method pathellipticarcabsolute ] { + + - Parameters [7] { + Parameter #0 [ $rx ] + Parameter #1 [ $ry ] + Parameter #2 [ $xAxisRotation ] + Parameter #3 [ $largeArc ] + Parameter #4 [ $sweep ] + Parameter #5 [ $x ] + Parameter #6 [ $y ] + } + } + + Method [ public method pathellipticarcrelative ] { + + - Parameters [7] { + Parameter #0 [ $rx ] + Parameter #1 [ $ry ] + Parameter #2 [ $xAxisRotation ] + Parameter #3 [ $largeArc ] + Parameter #4 [ $sweep ] + Parameter #5 [ $x ] + Parameter #6 [ $y ] + } + } + + Method [ public method pathfinish ] { + + - Parameters [0] { + } + } + + Method [ public method pathlinetoabsolute ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathlinetorelative ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathlinetohorizontalabsolute ] { + + - Parameters [1] { + Parameter #0 [ $y ] + } + } + + Method [ public method pathlinetohorizontalrelative ] { + + - Parameters [1] { + Parameter #0 [ $x ] + } + } + + Method [ public method pathlinetoverticalabsolute ] { + + - Parameters [1] { + Parameter #0 [ $y ] + } + } + + Method [ public method pathlinetoverticalrelative ] { + + - Parameters [1] { + Parameter #0 [ $x ] + } + } + + Method [ public method pathmovetoabsolute ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathmovetorelative ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method pathstart ] { + + - Parameters [0] { + } + } + + Method [ public method popclippath ] { + + - Parameters [0] { + } + } + + Method [ public method popdefs ] { + + - Parameters [0] { + } + } + + Method [ public method poppattern ] { + + - Parameters [0] { + } + } + + Method [ public method pushclippath ] { + + - Parameters [1] { + Parameter #0 [ $clipMask ] + } + } + + Method [ public method pushdefs ] { + + - Parameters [0] { + } + } + + Method [ public method pushpattern ] { + + - Parameters [5] { + Parameter #0 [ $pattern_id ] + Parameter #1 [ $x ] + Parameter #2 [ $y ] + Parameter #3 [ $width ] + Parameter #4 [ $height ] + } + } + + Method [ public method skewx ] { + + - Parameters [1] { + Parameter #0 [ $degrees ] + } + } + + Method [ public method skewy ] { + + - Parameters [1] { + Parameter #0 [ $degrees ] + } + } + + Method [ public method setstrokepatternurl ] { + + - Parameters [1] { + Parameter #0 [ $url ] + } + } + + Method [ public method gettextantialias ] { + + - Parameters [0] { + } + } + + Method [ public method settextantialias ] { + + - Parameters [1] { + Parameter #0 [ $antialias ] + } + } + + Method [ public method gettextundercolor ] { + + - Parameters [0] { + } + } + + Method [ public method settextundercolor ] { + + - Parameters [1] { + Parameter #0 [ $color ] + } + } + + Method [ public method translate ] { + + - Parameters [2] { + Parameter #0 [ $x ] + Parameter #1 [ $y ] + } + } + + Method [ public method setviewbox ] { + + - Parameters [4] { + Parameter #0 [ $sx ] + Parameter #1 [ $sy ] + Parameter #2 [ $ex ] + Parameter #3 [ $ey ] + } + } + + Method [ public method popGraphicContext ] { + + - Parameters [0] { + } + } + + Method [ public method pushGraphicContext ] { + + - Parameters [0] { } } } diff --git a/hald_8.png b/hald_8.png new file mode 100644 index 0000000..55d518e Binary files /dev/null and b/hald_8.png differ diff --git a/php-pecl-gmagick-php7.spec b/php-pecl-gmagick-php7.spec index 7e0c30a..a42e2e8 100644 --- a/php-pecl-gmagick-php7.spec +++ b/php-pecl-gmagick-php7.spec @@ -13,23 +13,26 @@ %{!?__php: %global __php %{_bindir}/php} %global pecl_name gmagick -%global prever RC1 +%global prever RC2 %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini Summary: Provides a wrapper to the GraphicsMagick library Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 2.0.1 -Release: 0.1.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 0.2.%{prever}%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: PHP Group: Development/Libraries URL: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{version}%{?prever}.tgz +# https://github.com/vitoc/gmagick/issues/25 +Source1: https://raw.githubusercontent.com/vitoc/gmagick/master/tests/hald_8.png + BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) BuildRequires: %{?scl_prefix}php-pear BuildRequires: %{?scl_prefix}php-devel >= 7.0.1 -BuildRequires: GraphicsMagick-devel >= 1.3.20 +BuildRequires: GraphicsMagick-devel >= 1.3.17 Requires: %{?scl_prefix}php(zend-abi) = %{php_zend_api} Requires: %{?scl_prefix}php(api) = %{php_core_api} @@ -75,11 +78,20 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -qc # Don't install/register tests -sed -e 's/role="test"/role="src"/' -i package.xml +sed -e 's/role="test"/role="src"/' \ + %{?_licensedir:-e '/LICENSE/s/role="doc"/role="src"/' } \ + -i package.xml mv %{pecl_name}-%{version}%{?prever} NTS cd NTS +# https://github.com/vitoc/gmagick/issues/25 +cp %{SOURCE1} tests/hald_8.png + +# https://github.com/vitoc/gmagick/issues/26 +sed -e 's/ifdef GMAGICK_HAVE_SET_IMAGE_PAGE/if 1/' \ + -i php_gmagick.h gmagick_methods.c gmagick.c + extver=$(sed -n '/#define PHP_GMAGICK_VERSION/{s/.* "//;s/".*$//;p}' php_gmagick.h) if test "x${extver}" != "x%{version}%{?prever}"; then : Error: Upstream version is ${extver}, expecting %{version}%{?prever}. @@ -201,6 +213,12 @@ export TEST_PHP_ARGS="-n -d extension=$PWD/modules/%{pecl_name}.so" %changelog +* Sun Jan 31 2016 Remi Collet - 2.0.1-0.2.RC2 +- Update to 2.0.1RC2 (php 7, beta) +- lower dependency on GraphicsMagick >= 1.3.17 +- open https://github.com/vitoc/gmagick/issues/25 +- open https://github.com/vitoc/gmagick/issues/26 + * Tue Dec 29 2015 Remi Collet - 2.0.1-0.1.RC1 - Update to 2.0.1RC1 (php 7, beta) - lower dependency on GraphicsMagick >= 1.3.20 -- cgit