Thrown when trying to allocate a too-large section of the atlas. More...
#include <Atlas.hpp>
Public Member Functions | |
Too_Big (int width__, int height__, int atlas_width__, int atlas_height__) | |
Creates a Too_Big exception. | |
virtual const char * | what () const throw () |
Returns the name of the exception as a string. | |
int | width () const |
Returns the width of the area the user attempted to allocate. | |
int | height () const |
Returns the height of the area the user attempted to allocate. | |
int | atlas_width () const |
Returns the width of the atlas used. | |
int | atlas_height () const |
Returns the height of the atlas used. |
Thrown when trying to allocate a too-large section of the atlas.
a5::Atlas::Too_Big::Too_Big | ( | int | width__, | |
int | height__, | |||
int | atlas_width__, | |||
int | atlas_height__ | |||
) |
Creates a Too_Big exception.
virtual const char* a5::Atlas::Too_Big::what | ( | ) | const throw () [virtual] |
Returns the name of the exception as a string.
Reimplemented from a5::Exception.
int a5::Atlas::Too_Big::width | ( | ) | const |
Returns the width of the area the user attempted to allocate.
int a5::Atlas::Too_Big::height | ( | ) | const |
Returns the height of the area the user attempted to allocate.
int a5::Atlas::Too_Big::atlas_width | ( | ) | const |
Returns the width of the atlas used.
int a5::Atlas::Too_Big::atlas_height | ( | ) | const |
Returns the height of the atlas used.