|
@@ 166-169 (lines=4) @@
|
| 163 |
|
imagearc($workingImage, $radius - 1, $radius - 1, $radius * 2, $radius * 2, 180, 270, $alphaColor); |
| 164 |
|
imagefilltoborder($workingImage, 0, 0, $alphaColor, $alphaColor); |
| 165 |
|
} |
| 166 |
|
if (0 < ($radius = $radii[1] * $q)) { // right top |
| 167 |
|
imagearc($workingImage, $workingWidth - $radius, $radius - 1, $radius * 2, $radius * 2, 270, 0, $alphaColor); |
| 168 |
|
imagefilltoborder($workingImage, $workingWidth - 1, 0, $alphaColor, $alphaColor); |
| 169 |
|
} |
| 170 |
|
if (0 < ($radius = $radii[2] * $q)) { // left bottom |
| 171 |
|
imagearc($workingImage, $radius - 1, $workingHeight - $radius, $radius * 2, $radius * 2, 90, 180, $alphaColor); |
| 172 |
|
imagefilltoborder($workingImage, 0, $workingHeight - 1, $alphaColor, $alphaColor); |
|
@@ 170-173 (lines=4) @@
|
| 167 |
|
imagearc($workingImage, $workingWidth - $radius, $radius - 1, $radius * 2, $radius * 2, 270, 0, $alphaColor); |
| 168 |
|
imagefilltoborder($workingImage, $workingWidth - 1, 0, $alphaColor, $alphaColor); |
| 169 |
|
} |
| 170 |
|
if (0 < ($radius = $radii[2] * $q)) { // left bottom |
| 171 |
|
imagearc($workingImage, $radius - 1, $workingHeight - $radius, $radius * 2, $radius * 2, 90, 180, $alphaColor); |
| 172 |
|
imagefilltoborder($workingImage, 0, $workingHeight - 1, $alphaColor, $alphaColor); |
| 173 |
|
} |
| 174 |
|
if (0 < ($radius = $radii[3] * $q)) { // right bottom |
| 175 |
|
imagearc($workingImage, $workingWidth - $radius, $workingHeight - $radius, $radius * 2, $radius * 2, 0, 90, $alphaColor); |
| 176 |
|
imagefilltoborder($workingImage, $workingWidth - 1, $workingHeight - 1, $alphaColor, $alphaColor); |
|
@@ 174-177 (lines=4) @@
|
| 171 |
|
imagearc($workingImage, $radius - 1, $workingHeight - $radius, $radius * 2, $radius * 2, 90, 180, $alphaColor); |
| 172 |
|
imagefilltoborder($workingImage, 0, $workingHeight - 1, $alphaColor, $alphaColor); |
| 173 |
|
} |
| 174 |
|
if (0 < ($radius = $radii[3] * $q)) { // right bottom |
| 175 |
|
imagearc($workingImage, $workingWidth - $radius, $workingHeight - $radius, $radius * 2, $radius * 2, 0, 90, $alphaColor); |
| 176 |
|
imagefilltoborder($workingImage, $workingWidth - 1, $workingHeight - 1, $alphaColor, $alphaColor); |
| 177 |
|
} |
| 178 |
|
imagealphablending($workingImage, true); |
| 179 |
|
imagecolortransparent($workingImage, $alphaColor); |
| 180 |
|
|