Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

th_next_cell(centos) [centos man page]

thai/thcell.h(3)						      libthai							  thai/thcell.h(3)

NAME
thai/thcell.h - Thai string cell custering. SYNOPSIS
Data Structures struct thcell_t Thai char cell representation. Functions void th_init_cell (struct thcell_t *cell) Initialize a Thai cell. size_t th_next_cell (const thchar_t *s, size_t len, struct thcell_t *cell, int is_decomp_am) Get first cell from string. size_t th_prev_cell (const thchar_t *s, size_t pos, struct thcell_t *cell, int is_decomp_am) Get previous cell from string. size_t th_make_cells (const thchar_t *s, size_t len, struct thcell_t cells[], size_t *ncells, int is_decomp_am) Tokenize string into cells. Detailed Description Thai string cell custering. Function Documentation void th_init_cell (struct thcell_t *cell) Initialize a Thai cell. Parameters: cell : pointer to the cell to initialize Initializes values in the Thai cell struct. size_t th_make_cells (const thchar_t *s, size_tlen, struct thcell_tcells[], size_t *ncells, intis_decomp_am) Tokenize string into cells. Parameters: s : the string len : the length of string cells : the array of output cells buffer ncells : the address of integer storing the number of cells provided by the buffer, and to keep the number of resulting cells on return is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total characters consumed Tokenizes the string bounded by s and len into cells, and stores at most *ncells resulting cells in the cells buffer. On return, *ncells is also set to the total cells stored in cells[]. size_t th_next_cell (const thchar_t *s, size_tlen, struct thcell_t *cell, intis_decomp_am) Get first cell from string. Parameters: s : the string len : the length of string cell : the output buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total chars consumed by the cell Gets first cell from the string bounded by s and len, and, if cell is not null, stores the cell data in it. size_t th_prev_cell (const thchar_t *s, size_tpos, struct thcell_t *cell, intis_decomp_am) Get previous cell from string. Parameters: s : the string pos : the position in string to get cell previous to cell : the output buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total chars consumed by the cell Gets last cell from the string bounded by s and pos, and if cell is not null, stores the cell data in it. Author Generated automatically by Doxygen for libthai from the source code. Version 0.1.14 Tue Jun 17 2014 thai/thcell.h(3)

Check Out this Related Man Page

thai/thrend.h(3)						      libthai							  thai/thrend.h(3)

NAME
thai/thrend.h - Thai string rendering. SYNOPSIS
Macros #define TH_BLANK_BASE_GLYPH 0xdd Blank base glyph, for floating upper/lower vowel. Typedefs typedef unsigned char thglyph_t Glyph code type. Functions int th_render_cell_tis (struct thcell_t cell, thglyph_t res[], size_t res_sz, int is_decomp_am) Render the given cell using TIS-620 glyph set. int th_render_cell_win (struct thcell_t cell, thglyph_t res[], size_t res_sz, int is_decomp_am) Render the given cell using Thai Windows glyph set. int th_render_cell_mac (struct thcell_t cell, thglyph_t res[], size_t res_sz, int is_decomp_am) Render the given cell using Mac Thai glyph set. int th_render_text_tis (const thchar_t *s, thglyph_t res[], size_t res_sz, int is_decomp_am) Render the given text using TIS-620 glyph set. int th_render_text_win (const thchar_t *s, thglyph_t res[], size_t res_sz, int is_decomp_am) Render the given text using Thai Windows glyph set. int th_render_text_mac (const thchar_t *s, thglyph_t res[], size_t res_sz, int is_decomp_am) Render the given text using Mac Thai glyph set. Detailed Description Thai string rendering. Function Documentation int th_render_cell_mac (struct thcell_tcell, thglyph_tres[], size_tres_sz, intis_decomp_am) Render the given cell using Mac Thai glyph set. Parameters: cell : the cell to render res : the buffer for storing output glyph string res_sz : the size of res buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total number of glyphs written to res[] Calculates glyphs from Mac Thai glyph set for the given cell, and store the glyph string in res, terminated with ''. If resulting glyphs are longer than the provided buffer, only the first res_sz glyphs are stored. int th_render_cell_tis (struct thcell_tcell, thglyph_tres[], size_tres_sz, intis_decomp_am) Render the given cell using TIS-620 glyph set. Parameters: cell : the cell to render res : the buffer for storing output glyph string res_sz : the size of res buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total number of glyphs written to res[] Calculates glyphs from TIS-620 glyph set for the given cell, and store the glyph string in res, terminated with ''. If resulting glyphs are longer than the provided buffer, only the first res_sz glyphs are stored. int th_render_cell_win (struct thcell_tcell, thglyph_tres[], size_tres_sz, intis_decomp_am) Render the given cell using Thai Windows glyph set. Parameters: cell : the cell to render res : the buffer for storing output glyph string res_sz : the size of res buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total number of glyphs written to res[] Calculates glyphs from Thai Windows glyph set for the given cell, and store the glyph string in res, terminated with ''. If resulting glyphs are longer than the provided buffer, only the first res_sz glyphs are stored. int th_render_text_mac (const thchar_t *s, thglyph_tres[], size_tres_sz, intis_decomp_am) Render the given text using Mac Thai glyph set. Parameters: s : the string to render res : the buffer for storing output glyph string res_sz : the size of res buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total number of glyphs written to res[] Calculates glyphs from Mac Thai glyph set for the given string s, and store the glyph string in res, terminated with ''. If resulting glyphs are longer than the provided buffer, only the first res_sz glyphs are stored. int th_render_text_tis (const thchar_t *s, thglyph_tres[], size_tres_sz, intis_decomp_am) Render the given text using TIS-620 glyph set. Parameters: s : the string to render res : the buffer for storing output glyph string res_sz : the size of res buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total number of glyphs written to res[] Calculates glyphs from TIS-620 glyph set for the given string s, and store the glyph string in res, terminated with ''. If resulting glyphs are longer than the provided buffer, only the first res_sz glyphs are stored. int th_render_text_win (const thchar_t *s, thglyph_tres[], size_tres_sz, intis_decomp_am) Render the given text using Thai Windows glyph set. Parameters: s : the string to render res : the buffer for storing output glyph string res_sz : the size of res buffer is_decomp_am : whether SARA AM is to be decomposed into NIKHANIT and SARA AA and to be in separate cells Returns: total number of glyphs written to res[] Calculates glyphs from Thai Windows glyph set for the given string s, and store the glyph string in res, terminated with ''. If resulting glyphs are longer than the provided buffer, only the first res_sz glyphs are stored. Author Generated automatically by Doxygen for libthai from the source code. Version 0.1.14 Tue Jun 17 2014 thai/thrend.h(3)
Man Page

Featured Tech Videos