|
| Rect () |
| Create an empty rectangle with bottom=left=with=height=0.
|
|
| Rect (double x, double y, double width, double height) |
| Create a rectangle with a given size and position.
|
|
| Rect (const Rect &rhs)=default |
| Copy constructor.
|
|
void | ToArray (PdfArray &arr) const |
| Converts the rectangle into an array. More...
|
|
std::string | ToString () const |
| Returns a string representation of the Rect. More...
|
|
bool | Contains (double x, double y) const |
|
void | Intersect (const Rect &rect) |
| Intersect with another rect. More...
|
|
double | GetLeft () const |
| Get the left coordinate of the rectangle.
|
|
double | GetBottom () const |
| Get the bottom coordinate of the rectangle.
|
|
double | GetRight () const |
| Get the right coordinate of the rectangle.
|
|
double | GetTop () const |
| Get the top coordinate of the rectangle.
|
|
bool | operator== (const Rect &rect) const |
|
bool | operator!= (const Rect &rect) const |
|
Rect | operator* (const Matrix &m) const |
|
Rect & | operator= (const Rect &rhs)=default |
|
A rectangle defined by position and size.