#include <erect.h>
|
| | eRect () |
| |
| | eRect (int left, int top, int width, int height) |
| |
| | eRect (const ePoint &topleft, const ePoint &bottomright) |
| |
| | eRect (const ePoint &topleft, const eSize &size) |
| |
| bool | empty () const |
| |
| bool | valid () const |
| |
| eRect | normalize () const |
| |
| int | left () const |
| |
| int | top () const |
| |
| int | right () const |
| |
| int | bottom () const |
| |
| int & | rLeft () |
| |
| int & | rTop () |
| |
| int & | rRight () |
| |
| int & | rBottom () |
| |
| int | x () const |
| |
| int | y () const |
| |
| void | setLeft (int pos) |
| |
| void | setTop (int pos) |
| |
| void | setRight (int pos) |
| |
| void | setBottom (int pos) |
| |
| void | setX (int x) |
| |
| void | setY (int y) |
| |
| ePoint | topLeft () const |
| |
| ePoint | bottomRight () const |
| |
| ePoint | topRight () const |
| |
| ePoint | bottomLeft () const |
| |
| ePoint | topLeft1 () const |
| |
| ePoint | bottomRight1 () const |
| |
| ePoint | topRight1 () const |
| |
| ePoint | bottomLeft1 () const |
| |
| ePoint | center () const |
| |
| void | rect (int *x, int *y, int *w, int *h) const |
| |
| void | coords (int *x1, int *y1, int *x2, int *y2) const |
| |
| void | moveTopLeft (const ePoint &p) |
| |
| void | moveBottomRight (const ePoint &p) |
| |
| void | moveTopRight (const ePoint &p) |
| |
| void | moveBottomLeft (const ePoint &p) |
| |
| void | moveCenter (const ePoint &p) |
| |
| void | moveBy (int dx, int dy) |
| |
| void | moveBy (ePoint r) |
| |
| void | setRect (int x, int y, int w, int h) |
| |
| void | setCoords (int x1, int y1, int x2, int y2) |
| |
| eSize | size () const |
| |
| int | width () const |
| |
| int | height () const |
| |
| int | surface () const |
| |
| void | setWidth (int w) |
| |
| void | setHeight (int h) |
| |
| void | setSize (const eSize &s) |
| |
| eRect | operator| (const eRect &r) const |
| |
| eRect | operator& (const eRect &r) const |
| |
| eRect & | operator|= (const eRect &r) |
| |
| eRect & | operator&= (const eRect &r) |
| |
| bool | contains (const ePoint &p) const |
| |
| bool | contains (int x, int y) const |
| |
| bool | contains (const eRect &r) const |
| |
| eRect | unite (const eRect &r) const |
| |
| eRect | intersect (const eRect &r) const |
| |
| bool | intersects (const eRect &r) const |
| |
| void | scale (int x_n, int x_d, int y_n, int y_d) |
| |
◆ eRect() [1/4]
◆ eRect() [2/4]
| eRect::eRect |
( |
int |
left, |
|
|
int |
top, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
inline |
◆ eRect() [3/4]
| eRect::eRect |
( |
const ePoint & |
topleft, |
|
|
const ePoint & |
bottomright |
|
) |
| |
|
inline |
◆ eRect() [4/4]
| eRect::eRect |
( |
const ePoint & |
topleft, |
|
|
const eSize & |
size |
|
) |
| |
|
inline |
◆ bottom()
| int eRect::bottom |
( |
| ) |
const |
|
inline |
◆ bottomLeft()
| ePoint eRect::bottomLeft |
( |
| ) |
const |
|
inline |
◆ bottomLeft1()
| ePoint eRect::bottomLeft1 |
( |
| ) |
const |
|
inline |
◆ bottomRight()
| ePoint eRect::bottomRight |
( |
| ) |
const |
|
inline |
◆ bottomRight1()
| ePoint eRect::bottomRight1 |
( |
| ) |
const |
|
inline |
◆ center()
| ePoint eRect::center |
( |
| ) |
const |
|
inline |
◆ contains() [1/3]
| bool eRect::contains |
( |
const ePoint & |
p | ) |
const |
◆ contains() [2/3]
| bool eRect::contains |
( |
const eRect & |
r | ) |
const |
◆ contains() [3/3]
| bool eRect::contains |
( |
int |
x, |
|
|
int |
y |
|
) |
| const |
|
inline |
◆ coords()
| void eRect::coords |
( |
int * |
x1, |
|
|
int * |
y1, |
|
|
int * |
x2, |
|
|
int * |
y2 |
|
) |
| const |
◆ empty()
| bool eRect::empty |
( |
| ) |
const |
|
inline |
◆ emptyRect()
| static eRect eRect::emptyRect |
( |
| ) |
|
|
inlinestatic |
◆ height()
| int eRect::height |
( |
| ) |
const |
|
inline |
◆ intersect()
◆ intersects()
| bool eRect::intersects |
( |
const eRect & |
r | ) |
const |
◆ invalidRect()
| static eRect eRect::invalidRect |
( |
| ) |
|
|
inlinestatic |
◆ left()
| int eRect::left |
( |
| ) |
const |
|
inline |
◆ moveBottomLeft()
| void eRect::moveBottomLeft |
( |
const ePoint & |
p | ) |
|
◆ moveBottomRight()
| void eRect::moveBottomRight |
( |
const ePoint & |
p | ) |
|
◆ moveBy() [1/2]
| void eRect::moveBy |
( |
ePoint |
r | ) |
|
|
inline |
◆ moveBy() [2/2]
| void eRect::moveBy |
( |
int |
dx, |
|
|
int |
dy |
|
) |
| |
|
inline |
◆ moveCenter()
| void eRect::moveCenter |
( |
const ePoint & |
p | ) |
|
◆ moveTopLeft()
| void eRect::moveTopLeft |
( |
const ePoint & |
p | ) |
|
◆ moveTopRight()
| void eRect::moveTopRight |
( |
const ePoint & |
p | ) |
|
◆ normalize()
| eRect eRect::normalize |
( |
| ) |
const |
◆ operator&()
◆ operator&=()
◆ operator|()
◆ operator|=()
◆ rBottom()
◆ rect()
| void eRect::rect |
( |
int * |
x, |
|
|
int * |
y, |
|
|
int * |
w, |
|
|
int * |
h |
|
) |
| const |
◆ right()
| int eRect::right |
( |
| ) |
const |
|
inline |
◆ rLeft()
◆ rRight()
◆ rTop()
◆ scale()
| void eRect::scale |
( |
int |
x_n, |
|
|
int |
x_d, |
|
|
int |
y_n, |
|
|
int |
y_d |
|
) |
| |
◆ setBottom()
| void eRect::setBottom |
( |
int |
pos | ) |
|
|
inline |
◆ setCoords()
| void eRect::setCoords |
( |
int |
x1, |
|
|
int |
y1, |
|
|
int |
x2, |
|
|
int |
y2 |
|
) |
| |
◆ setHeight()
| void eRect::setHeight |
( |
int |
h | ) |
|
◆ setLeft()
| void eRect::setLeft |
( |
int |
pos | ) |
|
|
inline |
◆ setRect()
| void eRect::setRect |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
◆ setRight()
| void eRect::setRight |
( |
int |
pos | ) |
|
|
inline |
◆ setSize()
| void eRect::setSize |
( |
const eSize & |
s | ) |
|
◆ setTop()
| void eRect::setTop |
( |
int |
pos | ) |
|
|
inline |
◆ setWidth()
| void eRect::setWidth |
( |
int |
w | ) |
|
◆ setX()
| void eRect::setX |
( |
int |
x | ) |
|
|
inline |
◆ setY()
| void eRect::setY |
( |
int |
y | ) |
|
|
inline |
◆ size()
| eSize eRect::size |
( |
| ) |
const |
|
inline |
◆ surface()
| int eRect::surface |
( |
| ) |
const |
|
inline |
◆ top()
◆ topLeft()
| ePoint eRect::topLeft |
( |
| ) |
const |
|
inline |
◆ topLeft1()
| ePoint eRect::topLeft1 |
( |
| ) |
const |
|
inline |
◆ topRight()
| ePoint eRect::topRight |
( |
| ) |
const |
|
inline |
◆ topRight1()
| ePoint eRect::topRight1 |
( |
| ) |
const |
|
inline |
◆ unite()
◆ valid()
| bool eRect::valid |
( |
| ) |
const |
|
inline |
◆ width()
| int eRect::width |
( |
| ) |
const |
|
inline |
◆ x()
◆ y()
◆ gRegion
◆ operator!=
◆ operator==
The documentation for this class was generated from the following files: