Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
terminal_logo::TerminalLogoRenderer Class Reference

#include <TerminalLogoRenderer.hpp>

Classes

struct  Options
 

Public Types

enum class  ColorMode {
  Auto , TrueColor , Ansi256 , Ansi16 ,
  Mono
}
 

Static Public Member Functions

static ColorMode parse_mode (std::string_view value)
 
static void render_from_path (const std::filesystem::path &image_path, std::ostream &out, const Options &options)
 
static void render_from_path (const std::filesystem::path &image_path, std::ostream &out)
 

Detailed Description

Definition at line 32 of file TerminalLogoRenderer.hpp.

Member Enumeration Documentation

◆ ColorMode

Enumerator
Auto 
TrueColor 
Ansi256 
Ansi16 
Mono 

Definition at line 34 of file TerminalLogoRenderer.hpp.

Member Function Documentation

◆ parse_mode()

static ColorMode terminal_logo::TerminalLogoRenderer::parse_mode ( std::string_view  value)
inlinestatic

Definition at line 47 of file TerminalLogoRenderer.hpp.

References Ansi16, Ansi256, Auto, Mono, and TrueColor.

◆ render_from_path() [1/2]

static void terminal_logo::TerminalLogoRenderer::render_from_path ( const std::filesystem::path &  image_path,
std::ostream &  out 
)
inlinestatic

Definition at line 85 of file TerminalLogoRenderer.hpp.

References render_from_path().

◆ render_from_path() [2/2]

static void terminal_logo::TerminalLogoRenderer::render_from_path ( const std::filesystem::path &  image_path,
std::ostream &  out,
const Options options 
)
inlinestatic

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