readme update 0.2
This commit is contained in:
parent
a384a7b927
commit
c51063359b
18
README.md
18
README.md
|
@ -14,11 +14,7 @@ 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 .
|
||||
|
||||
|
||||
|
||||
|
||||
translate a string from terminal to the readable form of shared memory .
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -27,11 +23,15 @@ translate a string from terminal to the readable form of FLTK .
|
|||
cmake ..
|
||||
make
|
||||
|
||||
## Example
|
||||
## Description
|
||||
|
||||
TextRenderer textRenderer;
|
||||
TextRender has two class, Bitmap class and Font class.
|
||||
|
||||
string bitmap = textRenderer.translate(testString);
|
||||
res/font.bmp (bitmap data, used by Bitmap::load() function)
|
||||
|
||||
textRenderer.outputInscreen(bitmap);
|
||||
res/font.toml (configuration file, it configure how to read the font.bmp)
|
||||
|
||||
src/Bitmap class, it used to load the font.bmp file.
|
||||
|
||||
src/Font class, it read the font.bmp data by Bitmap class,
|
||||
translate a string to a bitmap
|
Loading…
Reference in New Issue