|
roo_display
API Documentation for roo_display
|
#include <tile.h>
Public Member Functions | |
| TileBase (const Drawable &interior, Box extents, Alignment alignment, Color bgcolor=color::Background) | |
| void | setBgColor (Color bgcolor) |
| void | setBackground (const Rasterizable *background) |
| Box | extents () const override |
| Return the bounding box encompassing all pixels that need to be drawn. | |
Public Member Functions inherited from roo_display::Drawable | |
| virtual | ~Drawable () |
| virtual Box | anchorExtents () const |
| Return the bounds used for alignment. | |
Protected Member Functions | |
| void | draw (const Surface &s, const Drawable &interior) const |
| void | drawInternal (const Surface &s, const Drawable &interior) const |
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 |
Definition at line 11 of file tile.cpp.
References drawInternal().
|
protected |
Definition at line 22 of file tile.cpp.
References roo_display::AlphaBlend(), bgcolor, roo_display::Box::empty(), roo_display::internal::SolidBorder::extents(), extents(), fill_mode, roo_display::internal::SolidBorder::interior(), roo_display::Box::Intersect(), roo_display::kExtents, roo_display::Box::translate(), roo_display::internal::SolidBorder::x_offset(), roo_display::Box::xMax(), roo_display::Box::xMin(), roo_display::internal::SolidBorder::y_offset(), roo_display::Box::yMax(), and roo_display::Box::yMin().
Referenced by draw().
|
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 58 of file tile.h.
References roo_display::internal::SolidBorder::extents().
Referenced by drawInternal().
|
inline |