HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
Public Types | Public Member Functions
tt::image_stencil Class Reference
Inheritance diagram for tt::image_stencil:
tt::stencil tt::glyph_stencil tt::pixel_map_stencil

Public Types

using super = stencil
 

Public Member Functions

 image_stencil (alignment alignment)
 
- Public Member Functions inherited from tt::stencil
 stencil (alignment alignment)
 
 stencil (stencil const &) noexcept=delete
 
 stencil (stencil &&) noexcept=delete
 
stenciloperator= (stencil const &) noexcept=delete
 
stenciloperator= (stencil &&) noexcept=delete
 
virtual f32x4 preferred_extent () noexcept
 Return the extent that this cell wants to be drawn as.
 
virtual void set_layout_parameters (aarect const &rectangle, float base_line_position=std::numeric_limits< float >::infinity()) noexcept
 Pass layout parameters in local coordinates.
 
virtual void draw (draw_context context, bool use_context_color=false) noexcept=0
 Draw the cell.
 

Additional Inherited Members

- Static Public Member Functions inherited from tt::stencil
static std::unique_ptr< class image_stencilmake_unique (alignment alignment, icon const &icon)
 
static std::unique_ptr< class text_stencilmake_unique (alignment alignment, std::u8string const &text, text_style const &style)
 
static std::unique_ptr< class label_stencilmake_unique (alignment alignment, tt::label const &label, text_style const &style)
 

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