|
|
| GlyphCell (FontGlyphIDs glyph) |
| |
|
| GlyphCell (GlyphCell const &) noexcept=delete |
| |
|
| GlyphCell (GlyphCell &&) noexcept=delete |
| |
|
GlyphCell & | operator= (GlyphCell const &) noexcept=delete |
| |
|
GlyphCell & | operator= (GlyphCell &&) noexcept=delete |
| |
| void | draw (DrawContext const &drawContext, aarect rectangle, Alignment alignment, float middle) const noexcept override |
| | Draw the cell.
|
| |
|
| 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.
|
| |
◆ draw()
| void tt::GlyphCell::draw |
( |
DrawContext const & | drawContext, |
|
|
aarect | rectangle, |
|
|
Alignment | alignment, |
|
|
float | middle ) const |
|
overridevirtualnoexcept |
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. |
Implements tt::Cell.
The documentation for this class was generated from the following file: