summaryrefslogtreecommitdiffstats
path: root/src/driver/gd.php
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-06-28 13:23:00 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-06-28 13:23:00 +0000
commit6ed7f3a9b1814879c8fed5f55db1ae409797f76c (patch)
treef69295bc766e04744f43a8811574c69836049dc0 /src/driver/gd.php
parentd6bae028524a0fc548080d7b8ae1d8fa38102248 (diff)
downloadzetacomponents-graph-6ed7f3a9b1814879c8fed5f55db1ae409797f76c.zip
zetacomponents-graph-6ed7f3a9b1814879c8fed5f55db1ae409797f76c.tar.gz
- Added SVG driver
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