|
roo_display
API Documentation for roo_display
|
Filled circle. More...
#include <basic.h>
Static Public Member Functions | |
| static FilledCircle | ByRadius (Point center, int16_t radius, Color color) |
| Create a filled circle by center point and radius. | |
| static FilledCircle | ByRadius (int16_t x_center, int16_t y_center, int16_t radius, Color color) |
| Create a filled circle by center coordinates and radius. | |
| static FilledCircle | ByExtents (Point top_left, int16_t diameter, Color color) |
| Create a filled circle by top-left and diameter. | |
| static FilledCircle | ByExtents (int16_t x0, int16_t y0, int16_t diameter, Color color) |
| Create a filled circle by top-left coordinates and diameter. | |
Static Public Member Functions inherited from roo_display::Drawable | |
| static const Drawable * | Empty () |
| A singleton representing a no-op drawable with no bounding box. | |
Additional Inherited Members | |
Public Member Functions inherited from roo_display::CircleBase | |
| 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 Member Functions inherited from roo_display::CircleBase | |
| CircleBase (int16_t x0, int16_t y0, int16_t diameter, Color color) | |
Protected Member Functions inherited from roo_display::BasicShape | |
| BasicShape (Color color) | |
Protected Attributes inherited from roo_display::CircleBase | |
| int16_t | x0_ |
| int16_t | y0_ |
| int16_t | diameter_ |
|
inlinestatic |
Create a filled circle by top-left and diameter.
| top_left | Top-left corner of the bounding square. |
| diameter | Diameter in pixels. |
| color | Fill color. |
Definition at line 300 of file basic.h.
References ByExtents(), and color.
Referenced by ByExtents().
|
inlinestatic |
Create a filled circle by center point and radius.
Definition at line 279 of file basic.h.
References ByRadius(), and color.
Referenced by ByRadius().