|
roo_display
API Documentation for roo_display
|
Base class for rounded rectangles. More...
#include <basic.h>
Public Member Functions | |
| RoundRectBase (int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t radius, 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_ |
| int16_t | radius_ |
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 |
|
protected |
Definition at line 179 of file basic.h.
Referenced by RoundRectBase().
|
protected |
Definition at line 175 of file basic.h.
Referenced by extents(), and RoundRectBase().
|
protected |
Definition at line 177 of file basic.h.
Referenced by extents(), and RoundRectBase().
|
protected |
Definition at line 176 of file basic.h.
Referenced by extents(), and RoundRectBase().
|
protected |
Definition at line 178 of file basic.h.
Referenced by extents(), and RoundRectBase().