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

U_INTERNAL void U_EXPORT2 le_getGlyphPositions ( le_engine engine,
float  positions[],
LEErrorCode success 

This function copies the position array into a caller supplied array. The caller must ensure that the array is large enough to hold an X and Y position for each glyph, plus an extra X and Y for the advance of the last glyph.

engine - the LayoutEngine
positions - the destiniation position array
success - set to an error code if the operation fails

For internal use only.

Definition at line 120 of file loengine.cpp.

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

      LayoutEngine *le = (LayoutEngine *) engine;

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

      le->getGlyphPositions(positions, *success);

Generated by  Doxygen 1.6.0   Back to index