readme update 0.1
This commit is contained in:
parent
46dd118010
commit
a384a7b927
13
README.md
13
README.md
|
@ -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
|
This means that if TextRender has been installed on the Project Path, it
|
||||||
should be enough to do.
|
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
|
## Example
|
||||||
|
|
||||||
Font font("filepath");
|
TextRenderer textRenderer;
|
||||||
char bitmap[] = font.translate("hello world"); (not work now)
|
|
||||||
|
string bitmap = textRenderer.translate(testString);
|
||||||
|
|
||||||
|
textRenderer.outputInscreen(bitmap);
|
||||||
|
|
Loading…
Reference in New Issue