summaryrefslogtreecommitdiffstats
path: root/src/driver
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-11-27 12:00:23 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-11-27 12:00:23 +0000
commitf130ab5cb1155a0cda8725cbd1a52f7527acfada (patch)
treebc68f775c1d59eed1d834693ccc211cb580be4d2 /src/driver
parente5578da0740ae8fa7ff10207fbdd6aa38d7e4233 (diff)
downloadzetacomponents-graph-f130ab5cb1155a0cda8725cbd1a52f7527acfada.zip
zetacomponents-graph-f130ab5cb1155a0cda8725cbd1a52f7527acfada.tar.gz
- It was not possible to cause this exception
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/flash.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/driver/flash.php b/src/driver/flash.php
index 7c12de5..38507fd 100644
--- a/src/driver/flash.php
+++ b/src/driver/flash.php
@@ -315,11 +315,6 @@ class ezcGraphFlashDriver extends ezcGraphDriver
*/
public function drawTextBox( $string, ezcGraphCoordinate $position, $width, $height, $align, ezcGraphRotation $rotation = null )
{
- if ( $this->options->font->type !== ezcGraph::PALM_FONT )
- {
- throw new ezcGraphInvalidFontTypeException( $this->options->font->type, __CLASS__ );
- }
-
$padding = $this->options->font->padding + ( $this->options->font->border !== false ? $this->options->font->borderWidth : 0 );
$width = $this->modifyCoordinate( $width - $padding * 2 );
OpenPOWER on IntegriCloud