|
Public Member Functions |
| ClipRectangle () |
| Constructor.
|
| ClipRectangle (int aX, int aY, int aWidth, int aHeight, int aScale) |
| Constructor with initialization.
|
void | setClip (int aX, int aY, int aWidth, int aHeight, int aScale) |
| Sets the clip values.
|
void | intersect (const ClipRectangle &aClipRectangle) |
| Intersects the clip rectangle with another clip rectangle.
|
int | getMinXi () const |
| Returns the minimum X as integer.
|
int | getMinYi () const |
| Returns the minimum Y as integer.
|
int | getMaxXi () const |
| Returns the maximum X as integer.
|
int | getMaxYi () const |
| Returns the maximum Y as integer.
|
RATIONAL | getMinXf () const |
| Returns the minimum X as rational number (typically float).
|
RATIONAL | getMinYf () const |
| Returns the minimum Y as rational number (typically float).
|
RATIONAL | getMaxXf () const |
| Returns the maximum X as rational number (typically float).
|
RATIONAL | getMaxYf () const |
| Returns the maximum Y as rational number (typically float).
|
Protected Attributes |
int | mMinXi |
int | mMinYi |
int | mMaxXi |
int | mMaxYi |
RATIONAL | mMinXf |
RATIONAL | mMinYf |
RATIONAL | mMaxXf |
RATIONAL | mMaxYf |
RATIONAL | mXOffset |