#include <framebuffer.h>
Public Member Functions | |
| Rect () | |
| Rect (Point p, BoxSize s) | |
| bool | operator== (const Rect &r) const |
| Rect objects comparation. Same meaning of operator as for built-in types. | |
| bool | operator!= (const Rect &r) const |
| Negated Rect objects comparation. Same meaning of operator as for built-in types. | |
Public Attributes | |
| Point | at |
| Object position. | |
| BoxSize | size |
| Object size. | |
Definition at line 114 of file framebuffer.h.
| Rect::Rect | ( | ) | [inline] |
Create Rect object with position (0, 0) and zero size.
Definition at line 121 of file framebuffer.h.
Create Rect object with given size and position.
| p | Object position. | |
| s | Object size. |
Definition at line 128 of file framebuffer.h.
| bool Rect::operator== | ( | const Rect & | r | ) | const [inline] |
Rect objects comparation. Same meaning of operator as for built-in types.
Definition at line 131 of file framebuffer.h.
Referenced by operator!=().
| bool Rect::operator!= | ( | const Rect & | r | ) | const [inline] |
Negated Rect objects comparation. Same meaning of operator as for built-in types.
Definition at line 138 of file framebuffer.h.
References operator==().
1.5.2