MeshNet  1.0.0
Functions
meshHelper.cpp File Reference
#include <meshHelper.h>
Include dependency graph for meshHelper.cpp:

Functions

void alignText (char *text, int size, char fill, TextAlignment alignment)
 Aligns text in char array. More...
 

Function Documentation

◆ alignText()

void alignText ( char *  text,
int  size,
char  fill,
TextAlignment  alignment 
)

Aligns text in char array.

Parameters
textText array, that has to be aligned. Text has to end with \0 character.
sizeSize of text array.
fillCharacter, that will be inserted to blank space.
alignmentText alignment.