• Home
  • Raw
  • Download

Lines Matching refs:glyphIndex

254 LEGlyphID LEGlyphStorage::getGlyphID(le_int32 glyphIndex, LEErrorCode &success) const  in getGlyphID()  argument
265 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) { in getGlyphID()
270 return fGlyphs[glyphIndex]; in getGlyphID()
273 void LEGlyphStorage::setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success) in setGlyphID() argument
284 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) { in setGlyphID()
289 fGlyphs[glyphIndex] = glyphID; in setGlyphID()
292 le_int32 LEGlyphStorage::getCharIndex(le_int32 glyphIndex, LEErrorCode &success) const in getCharIndex() argument
303 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) { in getCharIndex()
308 return fCharIndices[glyphIndex]; in getCharIndex()
311 void LEGlyphStorage::setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success) in setCharIndex() argument
322 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) { in setCharIndex()
327 fCharIndices[glyphIndex] = charIndex; in setCharIndex()
349 le_uint32 LEGlyphStorage::getAuxData(le_int32 glyphIndex, LEErrorCode &success) const in getAuxData() argument
360 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) { in getAuxData()
365 return fAuxData[glyphIndex]; in getAuxData()
368 void LEGlyphStorage::setAuxData(le_int32 glyphIndex, le_uint32 auxData, LEErrorCode &success) in setAuxData() argument
379 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) { in setAuxData()
384 fAuxData[glyphIndex] = auxData; in setAuxData()
406 void LEGlyphStorage::getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success… in getGlyphPosition() argument
412 if (glyphIndex < 0 || glyphIndex > fGlyphCount) { in getGlyphPosition()
422 x = fPositions[glyphIndex * 2]; in getGlyphPosition()
423 y = fPositions[glyphIndex * 2 + 1]; in getGlyphPosition()
426 void LEGlyphStorage::setPosition(le_int32 glyphIndex, float x, float y, LEErrorCode &success) in setPosition() argument
432 if (glyphIndex < 0 || glyphIndex > fGlyphCount) { in setPosition()
437 fPositions[glyphIndex * 2] = x; in setPosition()
438 fPositions[glyphIndex * 2 + 1] = y; in setPosition()
441 void LEGlyphStorage::adjustPosition(le_int32 glyphIndex, float xAdjust, float yAdjust, LEErrorCode … in adjustPosition() argument
447 if (glyphIndex < 0 || glyphIndex > fGlyphCount) { in adjustPosition()
452 fPositions[glyphIndex * 2] += xAdjust; in adjustPosition()
453 fPositions[glyphIndex * 2 + 1] += yAdjust; in adjustPosition()