Liblouis User's and Programmer's Manual
7.14 lou_charToDots ¶
int lou_charToDots ( const char *tableList, const widechar *inbuf, widechar *outbuf, int length, int mode)
This function is the inverse of lou_dotsToChar
. It takes a
widechar string in inbuf
consisting of characters and converts it
to a widechar string in outbuf
consisting of dot patterns
according to the specifications in tableList
. length
is the
length of both inbuf
and outbuf
. The dot patterns in
outbufbuf
are in liblouis format if the mode bit ucBrl
is
not set and in Unicode format if it is set. The function returns 1 on
success and 0 on failure.