Logo Search packages:      
Sourcecode: icu version File versions  Download package

U_INTERNAL void U_EXPORT2 le_getCharIndicesWithBase ( le_engine engine,
le_int32  charIndices[],
le_int32  indexBase,
LEErrorCode success 
)

This function copies the character index array into a caller supplied array. The caller must ensure that the array is large enough to hold a character index for each glyph.

Parameters:
engine - the LayoutEngine
charIndices - the destiniation character index array
indexBase - an offset that will be added to each index.
success - set to an error code if the operation fails

For internal use only.

Definition at line 104 of file loengine.cpp.

References LayoutEngine::getCharIndices(), LE_ILLEGAL_ARGUMENT_ERROR, and NULL.

{
      LayoutEngine *le = (LayoutEngine *) engine;

      if (le == NULL) {
            *success = LE_ILLEGAL_ARGUMENT_ERROR;
            return;
      }

      le->getCharIndices(charIndices, indexBase, *success);
}


Generated by  Doxygen 1.6.0   Back to index