|
degate 0.1.1
|
#include <Image.h>

Public Member Functions | |
| ImageBase (unsigned int _width, unsigned int _height) | |
| virtual | ~ImageBase () |
| unsigned int | get_width () const |
| Get the width of an image. | |
| unsigned int | get_height () const |
| Get the height of an image. | |
| BoundingBox const & | get_bounding_box () const |
| Get the bounding box that represents the image. | |
Private Attributes | |
| BoundingBox | bounding_box |
| degate::ImageBase::ImageBase | ( | unsigned int | _width, |
| unsigned int | _height | ||
| ) | [inline] |
Definition at line 66 of file Image.h.
:
bounding_box(_width, _height) {}
| virtual degate::ImageBase::~ImageBase | ( | ) | [inline, virtual] |
| BoundingBox const& degate::ImageBase::get_bounding_box | ( | ) | const [inline] |
Get the bounding box that represents the image.
Definition at line 90 of file Image.h.
References bounding_box.
{
return bounding_box;
}
| unsigned int degate::ImageBase::get_height | ( | ) | const [inline] |
Get the height of an image.
Definition at line 83 of file Image.h.
References bounding_box, and degate::BoundingBox::get_height().
{
return bounding_box.get_height();
}

| unsigned int degate::ImageBase::get_width | ( | ) | const [inline] |
Get the width of an image.
Definition at line 75 of file Image.h.
References bounding_box, and degate::BoundingBox::get_width().
{
return bounding_box.get_width();
}

BoundingBox degate::ImageBase::bounding_box [private] |
Definition at line 62 of file Image.h.
Referenced by get_bounding_box(), get_height(), and get_width().
1.7.4