Uni20
Asynchronous tensor and runtime library.
Loading...
Searching...
No Matches
Functions
uni20::examples::presentation_demo Namespace Reference

Functions

void append_glyphs (presentation::styled_text &text, presentation::semantic_glyph glyph, std::size_t count, terminal::TerminalStyle line_style={})
 
std::size_t detected_terminal_width ()
 
presentation::output_policy forced_demo_policy (presentation::glyph_set glyphs, std::size_t width)
 
std::string repeat (char ch, std::size_t count)
 
terminal::TerminalStyle style (std::string_view spec)
 
presentation::output_policy terminal_demo_policy (std::size_t width)
 
std::string width_ruler (std::size_t width)
 

Function Documentation

◆ append_glyphs()

void uni20::examples::presentation_demo::append_glyphs ( presentation::styled_text &  text,
presentation::semantic_glyph  glyph,
std::size_t  count,
terminal::TerminalStyle  line_style = {} 
)
inline

◆ detected_terminal_width()

std::size_t uni20::examples::presentation_demo::detected_terminal_width ( )
inline

◆ forced_demo_policy()

presentation::output_policy uni20::examples::presentation_demo::forced_demo_policy ( presentation::glyph_set  glyphs,
std::size_t  width 
)
inline

◆ repeat()

std::string uni20::examples::presentation_demo::repeat ( char  ch,
std::size_t  count 
)
inline

◆ style()

terminal::TerminalStyle uni20::examples::presentation_demo::style ( std::string_view  spec)
inline

◆ terminal_demo_policy()

presentation::output_policy uni20::examples::presentation_demo::terminal_demo_policy ( std::size_t  width)
inline

◆ width_ruler()

std::string uni20::examples::presentation_demo::width_ruler ( std::size_t  width)
inline