summaryrefslogtreecommitdiffstats
path: root/src/driver/gd.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/gd.php')
-rw-r--r--src/driver/gd.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/gd.php b/src/driver/gd.php
index 6aa43f3..922469d 100644
--- a/src/driver/gd.php
+++ b/src/driver/gd.php
@@ -448,13 +448,13 @@ class ezcGraphGdDriver extends ezcGraphDriver
$center->x +
( ( cos( deg2rad( $startAngle ) ) * $width ) / 2 ),
$center->y +
- ( ( sin( deg2rad( $startAngle ) ) * $height + $size ) / 2 )
+ ( ( sin( deg2rad( $startAngle ) ) * $height ) / 2 ) + $size
),
new ezcGraphCoordinate(
$center->x +
( ( cos( deg2rad( $endAngle ) ) * $width ) / 2 ),
$center->y +
- ( ( sin( deg2rad( $endAngle ) ) * $height + $size ) / 2 )
+ ( ( sin( deg2rad( $endAngle ) ) * $height ) / 2 ) + $size
),
new ezcGraphCoordinate(
$center->x +
OpenPOWER on IntegriCloud