summaryrefslogtreecommitdiffstats
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/svg.php117
1 files changed, 117 insertions, 0 deletions
diff --git a/src/driver/svg.php b/src/driver/svg.php
new file mode 100644
index 0000000..894ff8a
--- /dev/null
+++ b/src/driver/svg.php
@@ -0,0 +1,117 @@
+<?php
+/**
+ * File containing the ezcGraphDriverSVG class
+ *
+ * @package Graph
+ * @version //autogentag//
+ * @copyright Copyright (C) 2005, 2006 eZ systems as. All rights reserved.
+ * @license http://ez.no/licenses/new_bsd New BSD License
+ */
+/**
+ * Extension of the basic Driver package to utilize the SVGlib.
+ *
+ * @package Graph
+ */
+class ezcGraphSVGDriver extends ezcGraphDriver
+{
+
+ /**
+ * Draws a single polygon
+ *
+ * @param mixed $points
+ * @param ezcGraphColor $color
+ * @param mixed $filled
+ * @abstract
+ * @access public
+ * @return void
+ */
+ public function drawPolygon( $points, ezcGraphColor $color, $filled = true )
+ {
+
+ }
+
+ /**
+ * Draws a single line
+ *
+ * @param ezcGraphCoordinate $start
+ * @param ezcGraphCoordinate $end
+ * @param ezcGraphColor $color
+ * @abstract
+ * @access public
+ * @return void
+ */
+ public function drawLine( ezcGraphCoordinate $start, ezcGraphCoordinate $end, ezcGraphColor $color )
+ {
+
+ }
+
+ /**
+ * Wrties text in a box of desired size
+ *
+ * @param mixed $string
+ * @param ezcGraphCoordinate $position
+ * @param mixed $width
+ * @param mixed $height
+ * @param ezcGraphColor $color
+ * @abstract
+ * @access public
+ * @return void
+ */
+ public function drawTextBox( $string, ezcGraphCoordinate $position, $width, $height, ezcGraphColor $color )
+ {
+
+ }
+
+ /**
+ * Draws a sector of cirlce
+ *
+ * @param ezcGraphCoordinate $center
+ * @param mixed $radius
+ * @param mixed $startAngle
+ * @param mixed $endAngle
+ * @param ezcGraphColor $color
+ * @abstract
+ * @access public
+ * @return void
+ */
+ public function drawCircleSector( ezcGraphCoordinate $center, $radius, $startAngle, $endAngle, ezcGraphColor $color )
+ {
+
+ }
+
+ /**
+ * Draws a circular arc
+ *
+ * @param ezcGraphCoordinate $center
+ * @param mixed $radius
+ * @param mixed $height
+ * @param mixed $startAngle
+ * @param mixed $endAngle
+ * @param ezcGraphColor $color
+ * @abstract
+ * @access public
+ * @return void
+ */
+ public function drawCircularArc( ezcGraphCoordinate $center, $radius, $height, $startAngle, $endAngle, ezcGraphColor $color )
+ {
+
+ }
+
+ /**
+ * Draws a imagemap of desired size
+ *
+ * @param mixed $file
+ * @param ezcGraphCoordinate $position
+ * @param mixed $width
+ * @param mixed $height
+ * @abstract
+ * @access public
+ * @return void
+ */
+ public function drawImage( $file, ezcGraphCoordinate $position, $width, $height )
+ {
+
+ }
+}
+
+?>
OpenPOWER on IntegriCloud