diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2006-09-06 09:34:53 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2006-09-06 09:34:53 +0000 |
commit | b7b8d6da07309da4e16397f662a4e2db46c0869a (patch) | |
tree | a76a982bef0844f6d3d0eeb7089a7e8a5dfb2ee0 /src/structs | |
parent | 4e50ab6291dc2430ef9ce4cc42c100c021e1a3b0 (diff) | |
download | zetacomponents-graph-b7b8d6da07309da4e16397f662a4e2db46c0869a.zip zetacomponents-graph-b7b8d6da07309da4e16397f662a4e2db46c0869a.tar.gz |
- Enhanced font configuration
- Use Free Type 2 by default now, fallback to native ttf, if not available
- Use t1lib for PostScript Type1 fonts
- Throw an exception, if some texts could not be rendered with minimum font
size
Diffstat (limited to 'src/structs')
-rw-r--r-- | src/structs/boundings.php | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/src/structs/boundings.php b/src/structs/boundings.php deleted file mode 100644 index ee58305..0000000 --- a/src/structs/boundings.php +++ /dev/null @@ -1,56 +0,0 @@ -<?php - -class ezcGraphBoundings -{ - public $x0 = 0; - - public $y0 = 0; - - public $x1 = false; - - public $y1 = false; - - /** - * Empty constructor - */ - public function __construct( $x0 = 0, $y0 = 0, $x1 = false, $y1 = false ) - { - $this->x0 = $x0; - $this->y0 = $y0; - $this->x1 = $x1; - $this->y1 = $y1; - - // Switch values to ensure correct order - if ( $this->x0 > $this->x1 ) - { - $tmp = $this->x0; - $this->x0 = $this->x1; - $this->x1 = $tmp; - } - - if ( $this->y0 > $this->y1 ) - { - $tmp = $this->y0; - $this->y0 = $this->y1; - $this->y1 = $tmp; - } - } - - /** - * Throws a BasePropertyNotFound exception. - */ - public function __set( $name, $value ) - { - throw new ezcBasePropertyNotFoundException( $name ); - } - - /** - * Throws a BasePropertyNotFound exception. - */ - public function __get( $name ) - { - throw new ezcBasePropertyNotFoundException( $name ); - } -} - -?> |