73 void move(lcdint_t dx, lcdint_t dy)
105 void setRect(lcdint_t l, lcdint_t t, lcdint_t r, lcdint_t b)
130 return (x >=
p1.
x) && (x <=
p2.
x);
196 return { {
static_cast<lcdint_t
>(
p1.
x - p.
x), static_cast<lcdint_t>(
p1.
y - p.
y) },
197 {
static_cast<lcdint_t
>(
p2.
x - p.
x), static_cast<lcdint_t>(
p2.
y - p.
y) } };
206 return { {
static_cast<lcdint_t
>(
p1.
x + p.
x), static_cast<lcdint_t>(
p1.
y + p.
y) },
207 {
static_cast<lcdint_t
>(
p2.
x + p.
x), static_cast<lcdint_t>(
p2.
y + p.
y) } };
229 return {
p1 >> bits,
p2 >> bits };
238 return {
p1 << bits,
p2 << bits };
244 #ifndef DOXYGEN_SHOULD_SKIP_THIS 247 return { { rect.
p1.
x + p.
x, rect.
p1.
y + p.
y },
248 { rect.
p2.
x + p.
x, rect.
p2.
y + p.
y } };
void crop(const _NanoRect &rect)
_NanoRect operator-(const _NanoPoint &p)
_NanoRect operator+(const _NanoPoint &p)
bool collisionY(lcdint_t y) const
_NanoRect operator<<(const uint8_t bits) const
bool above(const NanoPoint &p) const
bool collision(const NanoPoint &p) const
struct _NanoRect NanoRect
_NanoRect operator>>(const uint8_t bits) const
bool contains(const NanoPoint &p) const
void setRect(lcdint_t l, lcdint_t t, lcdint_t r, lcdint_t b)
_NanoRect & operator+=(const _NanoPoint &p)
bool below(const NanoPoint &p) const
bool collisionX(lcdint_t x) const
void move(lcdint_t dx, lcdint_t dy)
const NanoPoint size() const
bool contains(const _NanoRect &r) const
bool containsPartOf(const _NanoRect &r) const