Data Structures | |
struct | brlapi_writeStruct |
Defines | |
#define | BRLAPI_WRITESTRUCT_INITIALIZER { -1, 0, 0, NULL, NULL, NULL, -1, NULL }; |
Functions | |
int | brlapi_writeText (int cursor, const char *str) |
int | brlapi_writeDots (const unsigned char *dots) |
int | brlapi_write (const brlapi_writeStruct *s) |
Dots are coded as described in ISO/TR 11548-1: dot 1 is set iff bit 0 is set, dot 2 is set iff bit 1 is set, ... dot i+1 is set iff bit i is set. This also corresponds to the low-order byte of the coding of unicode's braille row U+2800.
|
Allows to initialize a structure of type brlapi_writeStruct * with default values: displayNumber = -1; (unspecified) regionBegin = regionEnd = 0; (update the whole display) text = attrAnd = attrOr = NULL; (no text, no attribute) cursor = -1; (don't touch cursor) |
|
Update a specific region of the braille display and apply and/or masks
|
|
Write the given dots array to the display
|
|
Write the given \0-terminated string to the braille display If the string is too long, it is cut. If it's too short, spaces are appended. The current LC_CTYPE locale is considered, unless it is left as default "C", in which case the charset is assumed to be 8bits, and the same as the server's.
|