Aufgabe 7: Anwendung
Point Struct Reference
Coordinate on the graphic screen. More...
#include <graphics/primitives.h>
Public Member Functions | |
| Point () | |
| Default Constructor. More... | |
| Point (int x, int y) | |
| Constructor. More... | |
| Point | operator+ (const Point &that) const |
| Summation of two points. | |
| Point & | operator+= (const Point &that) |
| Assignment summation of two points. | |
| Point | operator- (const Point &that) const |
| Difference of two points. | |
| Point & | operator-= (const Point &that) |
| Assignment difference of two points. | |
Public Attributes | |
| int | x |
| X Position. | |
| int | y |
| X Position. | |
Detailed Description
Coordinate on the graphic screen.
Constructor & Destructor Documentation
|
inline |
Default Constructor.
Initializing the point to the initial position (0, 0)
|
inline |
Constructor.
x X Position
y Y Position
The documentation for this struct was generated from the following file:
- graphics/primitives.h