embedFiglet
Utilities for C++ programming
Loading...
Searching...
No Matches
Figlet::Banner Class Reference

Class implementing the "figlet" algorithm. More...

#include <Figlet.hh>

Public Member Functions

 Banner (FontFiglet const *characters, char Hardblank, unsigned Height, unsigned FontMaxLen, unsigned FontSize)
 Constructor of Banner class.
 
void init ()
 initialize Banner class
 
void setMonospaced ()
 Set print mode to monospaced, see Available printing mode.
 
void setFullWidth ()
 Set print mode to full width, see Available printing mode.
 
void setPacked ()
 Set print mode to packed, see Available printing mode.
 
void setSmushed ()
 Set print mode to smushed (figlet default), see Available printing mode.
 
unsigned print (char const message[], ostream_type &s=cout, char const top[]="", char const bottom[]="")
 Print large letters of string message on stream s, see Available printing mode.
 
void printFramed (char const message[], ostream_type &s=cout, FrameMode fm=FIGLET_SINGLE)
 Available framing mode
 

Detailed Description

Class implementing the "figlet" algorithm.

Constructor & Destructor Documentation

◆ Banner()

Figlet::Banner::Banner ( FontFiglet const * characters,
char Hardblank,
unsigned Height,
unsigned FontMaxLen,
unsigned FontSize )
explicit

Constructor of Banner class.

:|:

Parameters
charactersnone :|:
Hardblanknone :|:
Heightnone :|:
FontMaxLennone :|:
FontSizenone \

Member Function Documentation

◆ init()

void Figlet::Banner::init ( )

initialize Banner class

◆ print()

unsigned Figlet::Banner::print ( char const message[],
ostream_type & s = cout,
char const top[] = "",
char const bottom[] = "" )

Print large letters of string message on stream s, see Available printing mode.

◆ printFramed()

void Figlet::Banner::printFramed ( char const message[],
ostream_type & s = cout,
FrameMode fm = FIGLET_SINGLE )

◆ setFullWidth()

void Figlet::Banner::setFullWidth ( )
inline

Set print mode to full width, see Available printing mode.

◆ setMonospaced()

void Figlet::Banner::setMonospaced ( )
inline

Set print mode to monospaced, see Available printing mode.

◆ setPacked()

void Figlet::Banner::setPacked ( )
inline

Set print mode to packed, see Available printing mode.

◆ setSmushed()

void Figlet::Banner::setSmushed ( )
inline

Set print mode to smushed (figlet default), see Available printing mode.


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