summaryrefslogtreecommitdiffstats
path: root/src/driver
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2006-05-29 13:40:44 +0000
committerKore Nordmann <github@kore-nordmann.de>2006-05-29 13:40:44 +0000
commit601c182037d2f007fd5cd119a0b25b8746913372 (patch)
treef5ec80fe2ffb6e8d65744fd610acb7b9149407e3 /src/driver
parent3b4aa2791ed69f16e64450a0c5c5644cee1abe6d (diff)
downloadzetacomponents-graph-601c182037d2f007fd5cd119a0b25b8746913372.zip
zetacomponents-graph-601c182037d2f007fd5cd119a0b25b8746913372.tar.gz
- Fixed testcases
- Added options class for gd driver
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/gd.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/driver/gd.php b/src/driver/gd.php
index 9fe7559..d858aa0 100644
--- a/src/driver/gd.php
+++ b/src/driver/gd.php
@@ -12,8 +12,13 @@
*
* @package Graph
*/
-class ezcGraphGDDriver extends ezcGraphDriver
+class ezcGraphGdDriver extends ezcGraphDriver
{
+ public function __construct( array $options = array() )
+ {
+ $this->options = new ezcGraphGdDriverOptions( $options );
+ }
+
/**
* Draws a single polygon
*
OpenPOWER on IntegriCloud