Lines Matching defs:glyphIndex

279 LEGlyphID LEGlyphStorage::getGlyphID(le_int32 glyphIndex, LEErrorCode &success) const
290 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
295 return fGlyphs[glyphIndex];
298 void LEGlyphStorage::setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success)
309 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
314 fGlyphs[glyphIndex] = glyphID;
317 le_int32 LEGlyphStorage::getCharIndex(le_int32 glyphIndex, LEErrorCode &success) const
328 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
333 return fCharIndices[glyphIndex];
336 void LEGlyphStorage::setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success)
347 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
352 fCharIndices[glyphIndex] = charIndex;
374 le_uint32 LEGlyphStorage::getAuxData(le_int32 glyphIndex, LEErrorCode &success) const
385 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
390 return fAuxData[glyphIndex];
393 void LEGlyphStorage::setAuxData(le_int32 glyphIndex, le_uint32 auxData, LEErrorCode &success)
404 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
409 fAuxData[glyphIndex] = auxData;
431 void LEGlyphStorage::getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const
437 if (glyphIndex < 0 || glyphIndex > fGlyphCount) {
447 x = fPositions[glyphIndex * 2];
448 y = fPositions[glyphIndex * 2 + 1];
451 void LEGlyphStorage::setPosition(le_int32 glyphIndex, float x, float y, LEErrorCode &success)
457 if (glyphIndex < 0 || glyphIndex > fGlyphCount) {
461 _LETRACE("set%-4d\t(%.2f, %.2f)", glyphIndex, x, y);
462 fPositions[glyphIndex * 2] = x;
463 fPositions[glyphIndex * 2 + 1] = y;
466 void LEGlyphStorage::adjustPosition(le_int32 glyphIndex, float xAdjust, float yAdjust, LEErrorCode &success)
472 if (glyphIndex < 0 || glyphIndex > fGlyphCount) {
477 fPositions[glyphIndex * 2] += xAdjust;
478 fPositions[glyphIndex * 2 + 1] += yAdjust;