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

U_INTERNAL void U_EXPORT2 le_getGlyphs ( le_engine engine,
LEGlyphID  glyphs[],
LEErrorCode success 
)

This function copies the glyph array into a caller supplied array. The caller must ensure that the array is large enough to hold all the glyphs.

Parameters:
engine - the LayoutEngine
glyphs - the destiniation glyph array
success - set to an error code if the operation fails

For internal use only.

Definition at line 74 of file loengine.cpp.

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

{
      LayoutEngine *le = (LayoutEngine *) engine;

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

      le->getGlyphs(glyphs, *success);
}


Generated by  Doxygen 1.6.0   Back to index