summaryrefslogtreecommitdiffstats
path: root/src/exceptions/flash_bitmap_boundings.php
blob: 4a110aab7cf3426d8a0f23e176c07589337143cc (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
<?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
{
    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'." );
    }
}

?>
OpenPOWER on IntegriCloud