Steppable 0.0.1
A CAS project written from scratch in C++
|
The namespace containing utilities for pretty printing. More...
Namespaces | |
namespace | printers |
The custom-implemented printer engines for outputting expressions. |
Classes | |
class | ConsoleOutput |
Represents a console output buffer. More... | |
struct | Position |
Represents a position in the console. More... |
Enumerations | |
enum class | HorizontalAlignment : std::uint8_t { LEFT = 0 , CENTER = 1 , RIGHT = 2 } |
Functions | |
size_t | getStringWidth (const std::string &s) |
Gets the minimal width needed to print a string. | |
size_t | getStringHeight (const std::string &s) |
Gets the minimal height needed to print a string. |
The namespace containing utilities for pretty printing.
|
strong |
size_t steppable::prettyPrint::getStringHeight | ( | const std::string & | s | ) |
Gets the minimal height needed to print a string.
s | The string. |
size_t steppable::prettyPrint::getStringWidth | ( | const std::string & | s | ) |
Gets the minimal width needed to print a string.
s | The string. |