Public Member Functions

a5::Atlas::Too_Big Class Reference
[AtlasEvent]

Thrown when trying to allocate a too-large section of the atlas. More...

#include <Atlas.hpp>

Inheritance diagram for a5::Atlas::Too_Big:
Inheritance graph

List of all members.

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.

Detailed Description

Thrown when trying to allocate a too-large section of the atlas.


Constructor & Destructor Documentation

a5::Atlas::Too_Big::Too_Big ( int  width__,
int  height__,
int  atlas_width__,
int  atlas_height__ 
)

Creates a Too_Big exception.


Member Function Documentation

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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Defines