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

LETypes.h File Reference

#include "unicode/utypes.h"
#include "unicode/uobject.h"

Go to the source code of this file.

Compounds

struct  LEPoint
 Used to hold a pair of (x, y) values which represent a point. More...


Defines

#define true   1
 Used for le_bool values which are true. More...

#define false   0
 Used for le_bool values which are false. More...

#define NULL   0
 Used to represent empty pointers. More...

#define LE_ARRAY_COPY(dst, src, count)   memcpy(dst, src, (count) * sizeof (src)[0])
 A convenience macro for copying an array. More...

#define LE_SUCCESS(code)   (U_SUCCESS((UErrorCode)code))
 A convenience macro to test for the success of a LayoutEngine call. More...

#define LE_FAILURE(code)   (U_FAILURE((UErrorCode)code))
 A convenience macro to test for the failure of a LayoutEngine call. More...


Typedefs

typedef uint32_t le_uint32
 A type used for unsigned, 32-bit integers. More...

typedef int16_t le_int16
 A type used for signed, 16-bit integers. More...

typedef uint16_t le_uint16
 A type used for unsigned, 16-bit integers. More...

typedef int8_t le_int8
 A type used for signed, 8-bit integers. More...

typedef uint8_t le_uint8
 A type used for unsigned, 8-bit integers. More...

typedef UBool le_bool
 A type used for boolean values. More...

typedef le_uint32 LETag
 Used for four character tags. More...

typedef le_uint16 LEGlyphID
 Used for glyph indices. More...

typedef UChar LEUnicode16
 Used to represent 16-bit Unicode code points. More...

typedef UChar32 LEUnicode32
 Used to represent 32-bit Unicode code points. More...

typedef UChar LEUnicode
 Used to represent 16-bit Unicode code points. More...


Enumerations

enum  LEErrorCode {
  LE_NO_ERROR = U_ZERO_ERROR, LE_ILLEGAL_ARGUMENT_ERROR = U_ILLEGAL_ARGUMENT_ERROR, LE_MEMORY_ALLOCATION_ERROR = U_MEMORY_ALLOCATION_ERROR, LE_INDEX_OUT_OF_BOUNDS_ERROR = U_INDEX_OUTOFBOUNDS_ERROR,
  LE_NO_LAYOUT_ERROR = U_UNSUPPORTED_ERROR, LE_INTERNAL_ERROR = U_INTERNAL_PROGRAM_ERROR
}
 Error codes returned by the LayoutEngine. More...


Variables

U_NAMESPACE_BEGIN typedef
int32_t 
le_int32
 A type used for signed, 32-bit integers. More...


Define Documentation

#define LE_ARRAY_COPY dst,
src,
count       memcpy(dst, src, (count) * sizeof (src)[0])
 

A convenience macro for copying an array.

Stable:
ICU 2.4

Definition at line 167 of file LETypes.h.

Referenced by LayoutEngine::getCharIndices(), LayoutEngine::getGlyphPositions(), and LayoutEngine::getGlyphs().

#define LE_FAILURE code       (U_FAILURE((UErrorCode)code))
 

A convenience macro to test for the failure of a LayoutEngine call.

Stable:
ICU 2.4

Definition at line 210 of file LETypes.h.

Referenced by LayoutEngine::adjustGlyphPositions(), LayoutEngine::getCharIndices(), LayoutEngine::getGlyphPosition(), LayoutEngine::getGlyphPositions(), LayoutEngine::getGlyphs(), and OpenTypeLayoutEngine::glyphPostProcessing().

#define LE_SUCCESS code       (U_SUCCESS((UErrorCode)code))
 

A convenience macro to test for the success of a LayoutEngine call.

Stable:
ICU 2.4

Definition at line 203 of file LETypes.h.

#define NULL   0
 

Used to represent empty pointers.

Stable:
ICU 2.4

Definition at line 91 of file LETypes.h.

#define false   0
 

Used for le_bool values which are false.

Stable:
ICU 2.4

Definition at line 82 of file LETypes.h.

#define true   1
 

Used for le_bool values which are true.

Stable:
ICU 2.4

Definition at line 73 of file LETypes.h.


Typedef Documentation

typedef le_uint16 LEGlyphID
 

Used for glyph indices.

(NOTE: this will likely change to le_uint32)

Draft:
This API has been introduced in ICU 2.4. It is still in draft state and may be modified in a future release.

Definition at line 108 of file LETypes.h.

typedef le_uint32 LETag
 

Used for four character tags.

Stable:
ICU 2.4

Definition at line 99 of file LETypes.h.

typedef UChar LEUnicode
 

Used to represent 16-bit Unicode code points.

Deprecated:
since ICU 2.4. Use LEUnicode16 instead

Definition at line 129 of file LETypes.h.

typedef UChar LEUnicode16
 

Used to represent 16-bit Unicode code points.

Stable:
ICU 2.4

Definition at line 115 of file LETypes.h.

typedef UChar32 LEUnicode32
 

Used to represent 32-bit Unicode code points.

Stable:
ICU 2.4

Definition at line 122 of file LETypes.h.

typedef UBool le_bool
 

A type used for boolean values.

Stable:
ICU 2.4

Definition at line 65 of file LETypes.h.

typedef int16_t le_int16
 

A type used for signed, 16-bit integers.

Stable:
ICU 2.4

Definition at line 36 of file LETypes.h.

typedef int8_t le_int8
 

A type used for signed, 8-bit integers.

Stable:
ICU 2.4

Definition at line 50 of file LETypes.h.

typedef uint16_t le_uint16
 

A type used for unsigned, 16-bit integers.

Stable:
ICU 2.4

Definition at line 43 of file LETypes.h.

typedef uint32_t le_uint32
 

A type used for unsigned, 32-bit integers.

Stable:
ICU 2.4

Definition at line 29 of file LETypes.h.

typedef uint8_t le_uint8
 

A type used for unsigned, 8-bit integers.

Stable:
ICU 2.4

Definition at line 57 of file LETypes.h.


Enumeration Type Documentation

enum LEErrorCode
 

Error codes returned by the LayoutEngine.

Stable:
ICU 2.4
Enumeration values:
LE_NO_ERROR 
LE_ILLEGAL_ARGUMENT_ERROR 
LE_MEMORY_ALLOCATION_ERROR 
LE_INDEX_OUT_OF_BOUNDS_ERROR 
LE_NO_LAYOUT_ERROR 
LE_INTERNAL_ERROR 

Definition at line 174 of file LETypes.h.


Variable Documentation

U_NAMESPACE_BEGIN typedef int32_t le_int32
 

A type used for signed, 32-bit integers.

Stable:
ICU 2.4

Definition at line 22 of file LETypes.h.


Generated on Wed Dec 18 16:50:09 2002 for ICU 2.4 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001