Logo Search packages:      
Sourcecode: icu version File versions

ushape.h File Reference


Detailed Description

C API: Arabic shaping.

Definition in file ushape.h.

#include "unicode/utypes.h"

Go to the source code of this file.

Defines

#define U_SHAPE_DIGIT_TYPE_AN   0
#define U_SHAPE_DIGIT_TYPE_AN_EXTENDED   0x100
#define U_SHAPE_DIGIT_TYPE_MASK   0x3f00
#define U_SHAPE_DIGIT_TYPE_RESERVED   0x200
#define U_SHAPE_DIGITS_ALEN2AN_INIT_AL   0x80
#define U_SHAPE_DIGITS_ALEN2AN_INIT_LR   0x60
#define U_SHAPE_DIGITS_AN2EN   0x40
#define U_SHAPE_DIGITS_EN2AN   0x20
#define U_SHAPE_DIGITS_MASK   0xe0
#define U_SHAPE_DIGITS_NOOP   0
#define U_SHAPE_DIGITS_RESERVED   0xa0
#define U_SHAPE_LENGTH_FIXED_SPACES_AT_BEGINNING   3
#define U_SHAPE_LENGTH_FIXED_SPACES_AT_END   2
#define U_SHAPE_LENGTH_FIXED_SPACES_NEAR   1
#define U_SHAPE_LENGTH_GROW_SHRINK   0
#define U_SHAPE_LENGTH_MASK   3
#define U_SHAPE_LETTERS_MASK   0x18
#define U_SHAPE_LETTERS_NOOP   0
#define U_SHAPE_LETTERS_SHAPE   8
#define U_SHAPE_LETTERS_SHAPE_TASHKEEL_ISOLATED   0x18
#define U_SHAPE_LETTERS_UNSHAPE   0x10
#define U_SHAPE_TEXT_DIRECTION_LOGICAL   0
#define U_SHAPE_TEXT_DIRECTION_MASK   4
#define U_SHAPE_TEXT_DIRECTION_VISUAL_LTR   4

Functions

U_CAPI int32_t U_EXPORT2 u_shapeArabic (const UChar *source, int32_t sourceLength, UChar *dest, int32_t destSize, uint32_t options, UErrorCode *pErrorCode)


Generated by  Doxygen 1.6.0   Back to index