HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Member Functions
tt::PixelMapCell Class Reference
Inheritance diagram for tt::PixelMapCell:
tt::ImageCell tt::Cell

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
 
Celloperator= (Cell const &) noexcept=delete
 
Celloperator= (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.
 

Member Function Documentation

◆ draw()

void tt::PixelMapCell::draw ( DrawContext const & drawContext,
aarect rectangle,
Alignment alignment,
float middle ) const
overridevirtualnoexcept

Draw the cell.

Parameters
drawContextThe current draw context.
rectangleThe position and size of the image.
alignmentThe alignment within the rectangle.
middleThe height of the middle of the line of text.

Implements tt::Cell.


The documentation for this class was generated from the following file: