|
roo_display
API Documentation for roo_display
|
Base class for axis-aligned rectangle shapes. More...
#include <basic.h>
Public Member Functions | |
| RectBase (int16_t x0, int16_t y0, int16_t x1, int16_t y1, Color color) | |
| Box | extents () const override |
| Return the bounding box encompassing all pixels that need to be drawn. | |
Public Member Functions inherited from roo_display::BasicShape | |
| Color | color () const |
| Return the shape color. | |
Public Member Functions inherited from roo_display::Drawable | |
| virtual | ~Drawable () |
| virtual Box | anchorExtents () const |
| Return the bounds used for alignment. | |
Protected Attributes | |
| int16_t | x0_ |
| int16_t | y0_ |
| int16_t | x1_ |
| int16_t | y1_ |
Additional Inherited Members | |
Static Public Member Functions inherited from roo_display::Drawable | |
| static const Drawable * | Empty () |
| A singleton representing a no-op drawable with no bounding box. | |
Protected Member Functions inherited from roo_display::BasicShape | |
| BasicShape (Color color) | |
|
inlineoverridevirtual |
Return the bounding box encompassing all pixels that need to be drawn.
This method is called during a transaction and must not block or perform I/O.
Implements roo_display::Drawable.
Definition at line 65 of file basic.h.
References x0_, x1_, y0_, and y1_.
Referenced by roo_display::FilledRect::extents().
|
protected |
Definition at line 68 of file basic.h.
Referenced by roo_display::Border::Border(), extents(), and RectBase().
|
protected |
Definition at line 70 of file basic.h.
Referenced by roo_display::Border::Border(), extents(), and RectBase().
|
protected |
Definition at line 69 of file basic.h.
Referenced by roo_display::Border::Border(), extents(), and RectBase().
|
protected |
Definition at line 71 of file basic.h.
Referenced by roo_display::Border::Border(), extents(), and RectBase().