blob: 939a827ebad7124a09a19b86a6af5eaa5393bf4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<?php
/**
* File containing the ezcGraphFlashBitmapBoundingsException class
*
* @package Graph
* @version //autogen//
* @copyright Copyright (C) 2005-2007 eZ systems as. All rights reserved.
* @license http://ez.no/licenses/new_bsd New BSD License
*/
/**
* Flash does not support bitmap scaling, so that this exceptions is thrown
* when an image does not have the requested size.
*
* @package Graph
* @version //autogen//
*/
class ezcGraphFlashBitmapBoundingsException extends ezcGraphException
{
/**
* Constructor
*
* @param int $imageWidth
* @param int $imageHeight
* @param int $reqWidth
* @param int $reqHeight
* @return void
* @ignore
*/
public function __construct( $imageWidth, $imageHeight, $reqWidth, $reqHeight )
{
parent::__construct( "Flash does not support bitmap scaling, so that it is up to you to scale the image '$imageWidth' * '$imageHeight' to '$reqWidth' * '$reqHeight'." );
}
}
?>
|