This chapter covers the UTF-8 functions that are provided with FLTK-UTF8.
FLTK-UTF8 provides the following types of specific UTF-8 functions:
There is two functions to draw text. One for LEFT-TO-RIGHT text direction and the other for RIGHT-TO-LEFT.
Draws the Draws the n
first characters of the c
x
pixel location. The left side of the second character
starts at x + fl_width(c[0])
.
y
is the location of glyphs base line.
void fl_rtl_draw(const char* c, int n, int x, int y)
n
first characters of the c
x
pixel location.
The right side of the second character
starts at x - fl_width(c[0])
.
pixel location. y
is the location of glyphs base line.