|
|
| Cell (Cell const &) noexcept=delete |
| |
|
| Cell (Cell &&) noexcept=delete |
| |
|
Cell & | operator= (Cell const &) noexcept=delete |
| |
|
Cell & | operator= (Cell &&) noexcept=delete |
| |
| virtual vec | preferredExtent () const noexcept |
| | Return the extent that this cell wants to be drawn as.
|
| |
| virtual float | heightForWidth (float width) const noexcept |
| | Get the height to draw this cell for the given width.
|
| |
| virtual void | draw (DrawContext const &drawContext, aarect rectangle, Alignment alignment, float middle=std::numeric_limits< float >::max()) const noexcept=0 |
| | Draw the cell.
|
| |
◆ draw()
Draw the cell.
- Parameters
-
| drawContext | The current draw context. |
| rectangle | The position and size of the image. |
| alignment | The alignment within the rectangle. |
| middle | The height of the middle of the line of text. |
Implemented in tt::GlyphCell, tt::PixelMapCell, and tt::TextCell.
◆ heightForWidth()
| virtual float tt::Cell::heightForWidth |
( |
float | width | ) |
const |
|
inlinevirtualnoexcept |
Get the height to draw this cell for the given width.
Reimplemented in tt::TextCell.
◆ preferredExtent()
| virtual vec tt::Cell::preferredExtent |
( |
| ) |
const |
|
inlinevirtualnoexcept |
Return the extent that this cell wants to be drawn as.
Reimplemented in tt::TextCell.
The documentation for this class was generated from the following file: