diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-05-22 07:49:00 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-05-22 07:49:00 +0000 |
commit | fd76465a079bf1a8b4b85e6f80431fcae81919f9 (patch) | |
tree | 53d423ce39cd5a6068c38f318fd9da300645bd9c /src/driver | |
parent | 8231d5da5ceadd3f04cc52d526a838da09e034c2 (diff) | |
download | zetacomponents-graph-fd76465a079bf1a8b4b85e6f80431fcae81919f9.zip zetacomponents-graph-fd76465a079bf1a8b4b85e6f80431fcae81919f9.tar.gz |
- Added missing dummy svg driver used in tests
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/svg.php | 117 |
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 ) + { + + } +} + +?> |