|
roo_display
API Documentation for roo_display
|
A straight line segment between two points. More...
#include <basic.h>
Public Member Functions | |
| Line (Point a, Point b, Color color) | |
| Line (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. | |
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.