summaryrefslogtreecommitdiffstats
path: root/src/driver
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-11-26 14:36:31 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-11-26 14:36:31 +0000
commit0fa0bbc5eb01b6e426e04c1f4e7f436a3a93ac6b (patch)
treedf1cc3771fa25ce9609a674665f2cb0b830ccb9d /src/driver
parent2ab872817beb0c3d12371654d734af6798141a0b (diff)
downloadzetacomponents-graph-0fa0bbc5eb01b6e426e04c1f4e7f436a3a93ac6b.zip
zetacomponents-graph-0fa0bbc5eb01b6e426e04c1f4e7f436a3a93ac6b.tar.gz
- Fixed rendering of filled circles in flash driver
# Also fixed broken comparision image
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/flash.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/driver/flash.php b/src/driver/flash.php
index ae86057..9aba002 100644
--- a/src/driver/flash.php
+++ b/src/driver/flash.php
@@ -844,11 +844,6 @@ class ezcGraphFlashDriver extends ezcGraphDriver
$shape = new SWFShape();
$this->setShapeColor( $shape, $color, 1, $filled );
- $shape->movePenTo(
- $this->modifyCoordinate( $center->x + $width / 2 ),
- $this->modifyCoordinate( $center->y )
- );
-
// Reduce size
if ( !$filled )
{
@@ -856,6 +851,11 @@ class ezcGraphFlashDriver extends ezcGraphDriver
$height -= 1;
}
+ $shape->movePenTo(
+ $this->modifyCoordinate( $center->x + $width / 2 ),
+ $this->modifyCoordinate( $center->y )
+ );
+
// @TODO: User SWFShape::curveTo
for ( $angle = $this->options->circleResolution; $angle <= 360; $angle += $this->options->circleResolution )
{
OpenPOWER on IntegriCloud