From 2f6123253c8fa81964c4cbff56f81f16bfbf14b2 Mon Sep 17 00:00:00 2001 From: Christoph Michael Becker Date: Mon, 17 Oct 2016 09:20:34 +0000 Subject: [PATCH] Document new imageopenpolygon() function git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340500 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/image/figures/imageopenpolygon.png | Bin 0 -> 979 bytes .../image/functions/imagefilledpolygon.xml | 9 + .../image/functions/imageopenpolygon.xml | 161 ++++++++++++++++++ reference/image/functions/imagepolygon.xml | 2 + reference/image/versions.xml | 1 + 5 files changed, 173 insertions(+) create mode 100644 reference/image/figures/imageopenpolygon.png create mode 100644 reference/image/functions/imageopenpolygon.xml diff --git a/reference/image/figures/imageopenpolygon.png b/reference/image/figures/imageopenpolygon.png new file mode 100644 index 0000000000000000000000000000000000000000..dde6b09019bbb65ff5c3be3568e350d2981da5ab GIT binary patch literal 979 zcmciB+iTNM90%}|BWHAt)3lvob6#q^Y|}7wpbi<@Y^m$K%sOw4*G0onM6Da5f?~Wx zJ4J2Osnc!Fy9i3Cdk}oE1|PBq*#=(08!CvPvIk{8i1_uNun@}0r@!y-_dC#*cwJ4N zf25xfl2;p3>j~k~cw`^NoAu9{TJe>ejA_k;414_V;aaB*Dy8F@C_KRf`jm5x{Dlvr=-{XR)VJ#`FPCc=YU& zL?kNliTOGgZIK(s0Vih6Wxxx-cp|bx;?JXJUP^8#x7d$x#%#+M`wn~b24ahWh@w!9)1hwp%d@+l_ z`<6?8o%873B?+=FCBK&}HZa;|t1mlbt)OK$`T6(LZPtF(A#YKXizA9E=IPv5%vOzz z*%JQ}6Msd+4jcnGV#ZOpt+A!D`B4=II$c^3HMnghvUv~3qb|K4F}Qd23GxCBr&ui6 z=Fvas@Ewu8$XJM9DLVJM#^Cm$Xcbn%bb}$ybZJ4vP@4UG!%&-bAYWI-ZY(r6sP&x& zE-;j8V5QC8ps*Bp#UYIWt?!6S&&LcU1T3@JXy6xBJcFBAE@<(KE={P0q64w|GQ?g7 zUIT`-_(_-g&~uuf59ipd6_rzgxE?8>#Sa4K8VUy-W3yMNOsnFx8xFY=)Y9jG7^ogN z!)ArR0U-7)7qs*-m&U3LMFI}DnTFV5h>{i7?*t0yO3D`4M zXDAWi9Gmr{G6=+;w*^hWo+VgC@bg`w%>uwCRg|&k + + + &reftitle.seealso; + + + imagepolygon + + + + + + + imageopenpolygon + Draws an open polygon + + + + &reftitle.description; + + boolimageopenpolygon + resourceimage + arraypoints + intnum_points + intcolor + + + imageopenpolygon draws an open polygon on the given + image. Contrary to imagepolygon, + no line is drawn between the last and the first point. + + + + + &reftitle.parameters; + + + &gd.image.description; + + points + + + An array containing the polygon's vertices, e.g.: + + + + + points[0] + = x0 + + + points[1] + = y0 + + + points[2] + = x1 + + + points[3] + = y1 + + + + + + + + + num_points + + + Total number of points (vertices). + + + + + color + + + A color identifier created with + imagecolorallocate. + + + + + + + + + &reftitle.returnvalues; + + &return.success; + + + + + &reftitle.examples; + + + <function>imageopenpolygon</function> example + + +]]> + + &example.outputs.similar; + + Output of example : imageopenpolygon() + + + + + + + + + + &reftitle.seealso; + + + imagepolygon + + + + + + + diff --git a/reference/image/functions/imagepolygon.xml b/reference/image/functions/imagepolygon.xml index 929d86e952..4120cc7fa6 100644 --- a/reference/image/functions/imagepolygon.xml +++ b/reference/image/functions/imagepolygon.xml @@ -125,6 +125,8 @@ imagedestroy($image); &reftitle.seealso; + imagefilledpolygon + imageopenpolygon imagecreate imagecreatetruecolor diff --git a/reference/image/versions.xml b/reference/image/versions.xml index c540c89fcd..8e75d5f101 100644 --- a/reference/image/versions.xml +++ b/reference/image/versions.xml @@ -83,6 +83,7 @@ +