#include <canvas.h>
Describes point
Definition at line 43 of file canvas.h.
◆ operator+()
Adds point.
- Parameters
-
p | - point values to add to the point. |
Definition at line 115 of file canvas.h.
◆ operator+=()
Adds point.
- Parameters
-
p | - point values to add to the point. |
Definition at line 83 of file canvas.h.
◆ operator-()
Subtracts point.
- Parameters
-
p | - point values to subtract from the point. |
Definition at line 105 of file canvas.h.
◆ operator-=()
Subtracts point.
- Parameters
-
p | - point values to subtract from the point. |
Definition at line 94 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 135 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 72 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 125 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 61 of file canvas.h.
◆ setPoint()
Initializes NanoPoint with specified values
- Parameters
-
px | - x position |
py | - y position |
Definition at line 55 of file canvas.h.
x position in pixels
Definition at line 46 of file canvas.h.
y position in pixels
Definition at line 48 of file canvas.h.
The documentation for this struct was generated from the following file: