![]() |
embedFiglet
Utilities for C++ programming
|
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 | |
Class implementing the "figlet" algorithm.
|
explicit |
Constructor of Banner class.
:|:
| characters | none :|: |
| Hardblank | none :|: |
| Height | none :|: |
| FontMaxLen | none :|: |
| FontSize | none \ |
| void Figlet::Banner::init | ( | ) |
initialize Banner class
| 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.
| void Figlet::Banner::printFramed | ( | char const | message[], |
| ostream_type & | s = cout, | ||
| FrameMode | fm = FIGLET_SINGLE ) |
|
inline |
Set print mode to full width, see Available printing mode.
|
inline |
Set print mode to monospaced, see Available printing mode.
|
inline |
Set print mode to packed, see Available printing mode.
|
inline |
Set print mode to smushed (figlet default), see Available printing mode.