Home
last modified time | relevance | path

Searched refs:glyphIndex (Results 1 – 12 of 12) sorted by relevance

/external/icu4c/layout/
DLEGlyphStorage.cpp254 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
[all …]
DLEGlyphStorage.h217 void getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const;
276 LEGlyphID getGlyphID(le_int32 glyphIndex, LEErrorCode &success) const;
288 le_int32 getCharIndex(le_int32 glyphIndex, LEErrorCode &success) const;
301 le_uint32 getAuxData(le_int32 glyphIndex, LEErrorCode &success) const;
313 inline LEGlyphID &operator[](le_int32 glyphIndex) const;
392 void setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success);
403 void setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success);
415 void setPosition(le_int32 glyphIndex, float x, float y, LEErrorCode &success);
427 void adjustPosition(le_int32 glyphIndex, float xAdjust, float yAdjust, LEErrorCode &success);
438 void setAuxData(le_int32 glyphIndex, le_uint32 auxData, LEErrorCode &success);
[all …]
Dloengine.cpp136 le_int32 glyphIndex, in le_getGlyphPosition() argument
148 le->getGlyphPosition(glyphIndex, *x, *y, *success); in le_getGlyphPosition()
Dloengine.h204 le_int32 glyphIndex,
DLayoutEngine.h446 void getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const;
DLayoutEngine.cpp187 void LayoutEngine::getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) … in getGlyphPosition() argument
189 fGlyphStorage->getGlyphPosition(glyphIndex, x, y, success); in getGlyphPosition()
/external/webkit/Source/WebCore/platform/graphics/chromium/
DUniscribeHelper.cpp420 size_t glyphIndex = shaping.m_logs[localOffset]; in firstGlyphForCharacter() local
421 if (glyphIndex >= shaping.m_glyphs.size()) { in firstGlyphForCharacter()
429 return shaping.m_glyphs[glyphIndex]; in firstGlyphForCharacter()
795 int glyphIndex = shaping.m_logs[i]; in adjustSpaceAdvances() local
796 int currentAdvance = shaping.m_advance[glyphIndex]; in adjustSpaceAdvances()
806 shaping.m_advance[glyphIndex] -= diff; in adjustSpaceAdvances()
815 shaping.m_advance[glyphIndex] = 0; in adjustSpaceAdvances()
817 shaping.m_offsets[glyphIndex].du = 0; in adjustSpaceAdvances()
818 shaping.m_offsets[glyphIndex].dv = 0; in adjustSpaceAdvances()
819 shaping.m_glyphs[glyphIndex] = shaping.m_spaceGlyph; in adjustSpaceAdvances()
[all …]
DFontLinux.cpp259 … for (int glyphIndex = 0; static_cast<unsigned>(glyphIndex) < controller.length(); ++glyphIndex) { in glyphIndexForXPositionInScriptRun() local
260 int advance = truncateFixedPointToInteger(controller.advances()[glyphIndex]); in glyphIndexForXPositionInScriptRun()
261 int nextX = static_cast<int>(controller.xPositions()[glyphIndex]) + advance / 2; in glyphIndexForXPositionInScriptRun()
263 return glyphIndex; in glyphIndexForXPositionInScriptRun()
298 const int glyphIndex = glyphIndexForXPositionInScriptRun(controller, targetX); in offsetForPositionForComplexText() local
312 if (log[j] >= glyphIndex) in offsetForPositionForComplexText()
DFontChromiumWin.cpp395 int glyphIndex = 0; // The starting glyph of the current chunk. in drawGlyphsWin() local
402 while (glyphIndex < numGlyphs) { in drawGlyphsWin()
404 int curLen = std::min(kMaxBufferLength, numGlyphs - glyphIndex); in drawGlyphsWin()
409 for (int i = 0; i < curLen; ++i, ++glyphIndex) { in drawGlyphsWin()
410 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex); in drawGlyphsWin()
411 horizontalOffset += glyphBuffer.advanceAt(from + glyphIndex); in drawGlyphsWin()
414 currentWidth += glyphBuffer.advanceAt(from + glyphIndex); in drawGlyphsWin()
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
DFontAndroid.cpp1141 int glyphIndex; in glyphIndexForXPositionInScriptRun() local
1143 for (glyphIndex = walker.length() - 1; glyphIndex >= 0; --glyphIndex) { in glyphIndexForXPositionInScriptRun()
1144 if (x < truncateFixedPointToInteger(advances[glyphIndex])) in glyphIndexForXPositionInScriptRun()
1146 x -= truncateFixedPointToInteger(advances[glyphIndex]); in glyphIndexForXPositionInScriptRun()
1149 for (glyphIndex = 0; glyphIndex < static_cast<int>(walker.length()); in glyphIndexForXPositionInScriptRun()
1150 ++glyphIndex) { in glyphIndexForXPositionInScriptRun()
1151 if (x < truncateFixedPointToInteger(advances[glyphIndex])) in glyphIndexForXPositionInScriptRun()
1153 x -= truncateFixedPointToInteger(advances[glyphIndex]); in glyphIndexForXPositionInScriptRun()
1157 return glyphIndex; in glyphIndexForXPositionInScriptRun()
1206 const int glyphIndex = glyphIndexForXPositionInScriptRun(walker, x); in offsetForPositionForComplexText() local
[all …]
/external/skia/src/ports/
DSkFontHost_FreeType.cpp413 FT_UInt glyphIndex; in populate_glyph_to_unicode() local
414 for (SkUnichar charCode = FT_Get_First_Char(face, &glyphIndex); in populate_glyph_to_unicode()
415 glyphIndex != 0; in populate_glyph_to_unicode()
416 charCode = FT_Get_Next_Char(face, charCode, &glyphIndex)) { in populate_glyph_to_unicode()
418 ((*glyphToUnicode)[glyphIndex] == 0 || preferredMap)) { in populate_glyph_to_unicode()
419 (*glyphToUnicode)[glyphIndex] = charCode; in populate_glyph_to_unicode()
909 FT_UInt glyphIndex; in generateGlyphToChar() local
910 SkUnichar charCode = FT_Get_First_Char( fFace, &glyphIndex ); in generateGlyphToChar()
912 while (glyphIndex != 0) { in generateGlyphToChar()
913 if (glyphIndex == glyph) { in generateGlyphToChar()
[all …]
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0660825 variable in the original code |glyphIndex| when it was