|
roo_display
API Documentation for roo_display
|
Union of rectangles used as an exclusion mask. More...
#include <clip_exclude_rects.h>
Public Member Functions | |
| RectUnion (const Box *begin, const Box *end) | |
| Construct a rect union from a range. | |
| void | reset (const Box *begin, const Box *end) |
| Reset to a new range. | |
| bool | contains (int16_t x, int16_t y) const |
| Return whether the union contains a point. | |
| bool | intersects (const Box &rect) const |
| Return whether the union intersects a rectangle. | |
| size_t | size () const |
| Return the number of rectangles in the union. | |
| const Box & | at (int idx) const |
Return the rectangle at index idx. | |
Union of rectangles used as an exclusion mask.
Definition at line 9 of file clip_exclude_rects.h.
Construct a rect union from a range.
Definition at line 12 of file clip_exclude_rects.h.
Return the rectangle at index idx.
Definition at line 40 of file clip_exclude_rects.h.
Return whether the union contains a point.
Definition at line 21 of file clip_exclude_rects.h.
Referenced by roo_display::RectUnionFilter::fill(), roo_display::RectUnionFilter::fillPixels(), roo_display::RectUnionFilter::write(), and roo_display::RectUnionFilter::writePixels().
Return whether the union intersects a rectangle.
Definition at line 29 of file clip_exclude_rects.h.
Reset to a new range.
Definition at line 15 of file clip_exclude_rects.h.
|
inline |
Return the number of rectangles in the union.
Definition at line 37 of file clip_exclude_rects.h.