|
HikoGUI
A low latency retained GUI
|
Public Member Functions | |
| PixelMapCell (PixelMap< R16G16B16A16SFloat > &&pixelMap) | |
| PixelMapCell (PixelMap< R16G16B16A16SFloat > const &pixelMap) | |
| PixelMapCell (URL const &url) | |
| void | draw (DrawContext const &drawContext, aarect rectangle, Alignment alignment, float middle) const noexcept override |
| Draw the cell. | |
Public Member Functions inherited from tt::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. | |
|
overridevirtualnoexcept |
Draw the cell.
| 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.