Skip to content

Commit a79c3e4

Browse files
authored
Example of update image functions (#4388)
1 parent 4c016ab commit a79c3e4

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

reference/image/functions/imagefilledpolygon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ $blue = imagecolorallocate($image, 0, 0, 255);
124124
imagefilledrectangle($image, 0, 0, 249, 249, $bg);
125125
126126
// draw a polygon
127-
imagefilledpolygon($image, $values, 6, $blue);
127+
imagefilledpolygon($image, $values, $blue);
128128
129129
// flush image
130130
header('Content-type: image/png');

reference/image/functions/imageopenpolygon.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ imageopenpolygon($image, array(
140140
100, 200,
141141
300, 200
142142
),
143-
3,
144143
$col_poly);
145144
146145
// Output the picture to the browser

reference/image/functions/imagepolygon.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ imagepolygon($image, array(
136136
100, 200,
137137
300, 200
138138
),
139-
3,
140139
$col_poly);
141140
142141
// Output the picture to the browser

0 commit comments

Comments
 (0)