Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ushape.h

Go to the documentation of this file.
00001 /*
00002 ******************************************************************************
00003 *
00004 *   Copyright (C) 2000-2001, International Business Machines
00005 *   Corporation and others.  All Rights Reserved.
00006 *
00007 ******************************************************************************
00008 *   file name:  ushape.h
00009 *   encoding:   US-ASCII
00010 *   tab size:   8 (not used)
00011 *   indentation:4
00012 *
00013 *   created on: 2000jun29
00014 *   created by: Markus W. Scherer
00015 */
00016 
00017 #ifndef __USHAPE_H__
00018 #define __USHAPE_H__
00019 
00020 #include "unicode/utypes.h"
00021 
00098 U_CAPI int32_t U_EXPORT2
00099 u_shapeArabic(const UChar *source, int32_t sourceLength,
00100               UChar *dest, int32_t destSize,
00101               uint32_t options,
00102               UErrorCode *pErrorCode);
00103 
00107 #define U_SHAPE_LENGTH_GROW_SHRINK              0
00108 
00113 #define U_SHAPE_LENGTH_FIXED_SPACES_NEAR        1
00114 
00119 #define U_SHAPE_LENGTH_FIXED_SPACES_AT_END      2
00120 
00125 #define U_SHAPE_LENGTH_FIXED_SPACES_AT_BEGINNING 3
00126 
00128 #define U_SHAPE_LENGTH_MASK                     3
00129 
00130 
00132 #define U_SHAPE_TEXT_DIRECTION_LOGICAL          0
00133 
00138 #define U_SHAPE_TEXT_DIRECTION_VISUAL_LTR       4
00139 
00141 #define U_SHAPE_TEXT_DIRECTION_MASK             4
00142 
00143 
00145 #define U_SHAPE_LETTERS_NOOP                    0
00146 
00148 #define U_SHAPE_LETTERS_SHAPE                   8
00149 
00151 #define U_SHAPE_LETTERS_UNSHAPE                 0x10
00152 
00154 #define U_SHAPE_LETTERS_RESERVED                0x18
00155 
00157 #define U_SHAPE_LETTERS_MASK                    0x18
00158 
00159 
00161 #define U_SHAPE_DIGITS_NOOP                     0
00162 
00167 #define U_SHAPE_DIGITS_EN2AN                    0x20
00168 
00173 #define U_SHAPE_DIGITS_AN2EN                    0x40
00174 
00185 #define U_SHAPE_DIGITS_ALEN2AN_INIT_LR          0x60
00186 
00196 #define U_SHAPE_DIGITS_ALEN2AN_INIT_AL          0x80
00197 
00199 #define U_SHAPE_DIGITS_RESERVED                 0xa0
00200 
00202 #define U_SHAPE_DIGITS_MASK                     0xe0
00203 
00204 
00206 #define U_SHAPE_DIGIT_TYPE_AN                   0
00207 
00209 #define U_SHAPE_DIGIT_TYPE_AN_EXTENDED          0x100
00210 
00212 #define U_SHAPE_DIGIT_TYPE_RESERVED             0x200
00213 
00215 #define U_SHAPE_DIGIT_TYPE_MASK                 0x3f00
00216 
00217 #endif

Generated at Tue Jun 12 14:04:03 2001 for ICU 1.8.1 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000