Drawable surface extent. More...
#include <eVision/Easy/EDrawableExtent.h>
Public Member Functions | |
| EDrawableExtent () | |
| Constructs an EDrawableExtent. | |
| EDrawableExtent (int32_t left, int32_t top, uint32_t width, uint32_t height) | |
| Constructs an EDrawableExtent. | |
| EDrawableExtent (const eVision::EDrawableExtent &other) | |
| Constructs an EDrawableExtent. | |
| virtual | ~EDrawableExtent () throw () |
| eVision::EDrawableExtent & | operator= (const eVision::EDrawableExtent &other) |
| Assignment operator. | |
| int32_t | IsInfinite () const |
| Whether the EDrawableExtent is finite. | |
| int32_t | GetLeft () const |
| Gets the left limit of the EDrawableExtent. | |
| int32_t | GetTop () const |
| Gets the top limit of the EDrawableExtent. | |
| int32_t | GetRightExclusive () const |
| Gets the right limit of the EDrawableExtent. | |
| int32_t | GetBottomExclusive () const |
| Gets the bottom limit of the EDrawableExtent. | |
| uint32_t | GetWidth () const |
| Gets the width of the EDrawableExtent. | |
| uint32_t | GetHeight () const |
| Gets the height of the EDrawableExtent. | |
| bool | DoesContainPoint (int32_t x, int32_t y) const |
| Tests whether the EDrawableExtent contains the given point. | |
| bool | DoesContainHorizontalLine (int32_t y, int32_t x1, int32_t x2) const |
| Tests whether the EDrawableExtent contains the given horizontal line. | |
| bool | DoesContainRectangle (int32_t rectangleLeft, int32_t rectangleTop, uint32_t rectangleWidth, uint32_t rectangleHeight) const |
| Tests whether the EDrawableExtent contains the given rectangle. | |
| EDrawableExtent (CppWrapperInternal::InternalConstructor) | |
Public Attributes | |
| CppWrapperInternal::WrappedClass | wrappedClass_ |
Drawable surface extent.
License(s): None
| eVision::EDrawableExtent::EDrawableExtent | ( | ) |
Constructs an EDrawableExtent.
| eVision::EDrawableExtent::EDrawableExtent | ( | int32_t | left, |
| int32_t | top, | ||
| uint32_t | width, | ||
| uint32_t | height ) |
Constructs an EDrawableExtent.
| left | left limit of the EDrawableExtent |
| top | top limit of the EDrawableExtent |
| width | width of the EDrawableExtent |
| height | height of the EDrawableExtent |
| eVision::EDrawableExtent::EDrawableExtent | ( | const eVision::EDrawableExtent & | other | ) |
Constructs an EDrawableExtent.
| other | The other EDrawableExtent that we will copy into this one. |
|
virtual | ||||||||||||
| eVision::EDrawableExtent::EDrawableExtent | ( | CppWrapperInternal::InternalConstructor | ) |
| bool eVision::EDrawableExtent::DoesContainHorizontalLine | ( | int32_t | y, |
| int32_t | x1, | ||
| int32_t | x2 ) const |
Tests whether the EDrawableExtent contains the given horizontal line.
| y | ordinate of the line |
| x1 | leftmost abscissa of the line |
| x2 | rightmost abscissa of the line |
| bool eVision::EDrawableExtent::DoesContainPoint | ( | int32_t | x, |
| int32_t | y ) const |
Tests whether the EDrawableExtent contains the given point.
| x | abscissa of the point |
| y | ordinate of the point |
| bool eVision::EDrawableExtent::DoesContainRectangle | ( | int32_t | rectangleLeft, |
| int32_t | rectangleTop, | ||
| uint32_t | rectangleWidth, | ||
| uint32_t | rectangleHeight ) const |
Tests whether the EDrawableExtent contains the given rectangle.
| rectangleLeft | leftmost abscissa of the rectangle (included) |
| rectangleTop | topmost ordinate of the rectangle (included) |
| rectangleWidth | width of the rectangle |
| rectangleHeight | height of the rectangle |
| int32_t eVision::EDrawableExtent::GetBottomExclusive | ( | ) | const |
Gets the bottom limit of the EDrawableExtent.
| uint32_t eVision::EDrawableExtent::GetHeight | ( | ) | const |
Gets the height of the EDrawableExtent.
| int32_t eVision::EDrawableExtent::GetLeft | ( | ) | const |
Gets the left limit of the EDrawableExtent.
| int32_t eVision::EDrawableExtent::GetRightExclusive | ( | ) | const |
Gets the right limit of the EDrawableExtent.
| int32_t eVision::EDrawableExtent::GetTop | ( | ) | const |
Gets the top limit of the EDrawableExtent.
| uint32_t eVision::EDrawableExtent::GetWidth | ( | ) | const |
Gets the width of the EDrawableExtent.
| int32_t eVision::EDrawableExtent::IsInfinite | ( | ) | const |
Whether the EDrawableExtent is finite.
| eVision::EDrawableExtent & eVision::EDrawableExtent::operator= | ( | const eVision::EDrawableExtent & | other | ) |
Assignment operator.
| other | The other EDrawableExtent that we will copy into this one. |
| CppWrapperInternal::WrappedClass eVision::EDrawableExtent::wrappedClass_ |