readme update 0.1

This commit is contained in:
my 2019-10-29 12:50:43 +01:00
parent 46dd118010
commit a384a7b927
1 changed files with 9 additions and 4 deletions

View File

@ -14,7 +14,9 @@ TextRender build exports an interface target TextRender::TextRender.
This means that if TextRender has been installed on the Project Path, it
should be enough to do.
...
translate a string from terminal to the readable form of FLTK .
@ -27,6 +29,9 @@ should be enough to do.
## Example
Font font("filepath");
char bitmap[] = font.translate("hello world"); (not work now)
TextRenderer textRenderer;
string bitmap = textRenderer.translate(testString);
textRenderer.outputInscreen(bitmap);