#include <canvas.h>
Describes point
Definition at line 45 of file canvas.h.
◆ operator+()
Adds point.
- Parameters
-
p | - point values to add to the point. |
Definition at line 117 of file canvas.h.
◆ operator+=()
Adds point.
- Parameters
-
p | - point values to add to the point. |
Definition at line 85 of file canvas.h.
◆ operator-()
Subtracts point.
- Parameters
-
p | - point values to subtract from the point. |
Definition at line 107 of file canvas.h.
◆ operator-=()
Subtracts point.
- Parameters
-
p | - point values to subtract from the point. |
Definition at line 96 of file canvas.h.
◆ operator<<()
_NanoPoint _NanoPoint::operator<< |
( |
const uint8_t |
bits | ) |
|
|
inline |
Shifts left x,y value of the point by bits value.
- Parameters
-
bits | - number of bits to shift |
Definition at line 137 of file canvas.h.
◆ operator<<=()
_NanoPoint& _NanoPoint::operator<<= |
( |
const uint8_t |
bits | ) |
|
|
inline |
Shifts left x,y value of the point by bits value.
- Parameters
-
bits | - number of bits to shift |
Definition at line 74 of file canvas.h.
◆ operator>>()
_NanoPoint _NanoPoint::operator>> |
( |
const uint8_t |
bits | ) |
|
|
inline |
Shifts right x,y value of the point by bits value.
- Parameters
-
bits | - number of bits to shift |
Definition at line 127 of file canvas.h.
◆ operator>>=()
_NanoPoint& _NanoPoint::operator>>= |
( |
const uint8_t |
bits | ) |
|
|
inline |
Shifts right x,y value of the point by bits value.
- Parameters
-
bits | - number of bits to shift |
Definition at line 63 of file canvas.h.
◆ setPoint()
Initializes NanoPoint with specified values
- Parameters
-
px | - x position |
py | - y position |
Definition at line 57 of file canvas.h.
x position in pixels
Definition at line 48 of file canvas.h.
y position in pixels
Definition at line 50 of file canvas.h.
The documentation for this struct was generated from the following file: