#include <framebuffer.h>
Public Member Functions | |
| Point () | |
| Point (int ix, int iy) | |
| bool | operator== (const Point &p) const |
| Point objects comparation. Same meaning of operator as for built-in types. | |
| bool | operator!= (const Point &p) const |
| Negated Point objects comparation. Same meaning of operator as for built-in types. | |
| Point & | operator+= (const Point &p) |
| Add an another Point object. Same meaning of operator as for built-in types. | |
| Point & | operator-= (const Point &p) |
| Subtract an another Point object. Same meaning of operator as for built-in types. | |
Public Attributes | |
| int | x |
| point position | |
| int | y |
| point position | |
Definition at line 60 of file framebuffer.h.
| Point::Point | ( | ) | [inline] |
Create Point (0, 0).
Definition at line 67 of file framebuffer.h.
| Point::Point | ( | int | ix, | |
| int | iy | |||
| ) | [inline] |
Create Point object with given position.
| ix | Object position. | |
| iy | Object position. |
Definition at line 74 of file framebuffer.h.
| bool Point::operator== | ( | const Point & | p | ) | const [inline] |
Point objects comparation. Same meaning of operator as for built-in types.
Definition at line 77 of file framebuffer.h.
| bool Point::operator!= | ( | const Point & | p | ) | const [inline] |
Negated Point objects comparation. Same meaning of operator as for built-in types.
Definition at line 80 of file framebuffer.h.
Add an another Point object. Same meaning of operator as for built-in types.
Definition at line 83 of file framebuffer.h.
Subtract an another Point object. Same meaning of operator as for built-in types.
Definition at line 91 of file framebuffer.h.
| int Point::x |
point position
Definition at line 61 of file framebuffer.h.
Referenced by operator!=(), operator+=(), operator-=(), and operator==().
| int Point::y |
point position
Definition at line 62 of file framebuffer.h.
Referenced by operator!=(), operator+=(), operator-=(), and operator==().
1.5.2