Lines Matching refs:glyphIndex

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