Searched refs:glyphIndex (Results 1 - 11 of 11) sorted by relevance

/external/icu4c/layout/
H A DLEGlyphStorage.h208 * @param glyphIndex - the index of the glyph
217 void getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const;
269 * @param glyphIndex the index into the glyph array
276 LEGlyphID getGlyphID(le_int32 glyphIndex, LEErrorCode &success) const;
281 * @param glyphIndex the index into the glyph array
288 le_int32 getCharIndex(le_int32 glyphIndex, LEErrorCode &success) const;
294 * @param glyphIndex the index into the glyph array
301 le_uint32 getAuxData(le_int32 glyphIndex, LEErrorCode &success) const;
307 * @param glyphIndex the index into the glyph array
313 inline LEGlyphID &operator[](le_int32 glyphIndex) cons
[all...]
H A DLEGlyphStorage.cpp254 LEGlyphID LEGlyphStorage::getGlyphID(le_int32 glyphIndex, LEErrorCode &success) const argument
265 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
270 return fGlyphs[glyphIndex];
273 void LEGlyphStorage::setGlyphID(le_int32 glyphIndex, LEGlyphID glyphID, LEErrorCode &success) argument
284 if (glyphIndex < 0 || glyphIndex >= fGlyphCount) {
289 fGlyphs[glyphIndex] = glyphID;
292 le_int32 LEGlyphStorage::getCharIndex(le_int32 glyphIndex, LEErrorCode &success) const argument
303 if (glyphIndex <
311 setCharIndex(le_int32 glyphIndex, le_int32 charIndex, LEErrorCode &success) argument
349 getAuxData(le_int32 glyphIndex, LEErrorCode &success) const argument
368 setAuxData(le_int32 glyphIndex, le_uint32 auxData, LEErrorCode &success) argument
406 getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const argument
426 setPosition(le_int32 glyphIndex, float x, float y, LEErrorCode &success) argument
441 adjustPosition(le_int32 glyphIndex, float xAdjust, float yAdjust, LEErrorCode &success) argument
[all...]
H A Dloengine.cpp136 le_int32 glyphIndex,
148 le->getGlyphPosition(glyphIndex, *x, *y, *success);
135 le_getGlyphPosition(le_engine *engine, le_int32 glyphIndex, float *x, float *y, LEErrorCode *success) argument
H A Dloengine.h193 * @param glyphIndex - the index of the glyph
204 le_int32 glyphIndex,
H A DLayoutEngine.h437 * @param glyphIndex - the index of the glyph
446 void getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const;
H A DLayoutEngine.cpp187 void LayoutEngine::getGlyphPosition(le_int32 glyphIndex, float &x, float &y, LEErrorCode &success) const argument
189 fGlyphStorage->getGlyphPosition(glyphIndex, x, y, success);
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DUniscribeHelper.cpp420 size_t glyphIndex = shaping.m_logs[localOffset]; local
421 if (glyphIndex >= shaping.m_glyphs.size()) {
429 return shaping.m_glyphs[glyphIndex];
795 int glyphIndex = shaping.m_logs[i]; local
796 int currentAdvance = shaping.m_advance[glyphIndex];
806 shaping.m_advance[glyphIndex] -= diff;
815 shaping.m_advance[glyphIndex] = 0;
817 shaping.m_offsets[glyphIndex].du = 0;
818 shaping.m_offsets[glyphIndex].dv = 0;
819 shaping.m_glyphs[glyphIndex]
874 int glyphIndex = shaping.m_logs[i]; local
944 int glyphIndex = shaping.m_logs[i]; local
[all...]
H A DFontLinux.cpp259 for (int glyphIndex = 0; static_cast<unsigned>(glyphIndex) < controller.length(); ++glyphIndex) {
260 int advance = truncateFixedPointToInteger(controller.advances()[glyphIndex]);
261 int nextX = static_cast<int>(controller.xPositions()[glyphIndex]) + advance / 2;
263 return glyphIndex;
298 const int glyphIndex = glyphIndexForXPositionInScriptRun(controller, targetX); local
312 if (log[j] >= glyphIndex)
H A DFontChromiumWin.cpp395 int glyphIndex = 0; // The starting glyph of the current chunk. local
402 while (glyphIndex < numGlyphs) {
404 int curLen = std::min(kMaxBufferLength, numGlyphs - glyphIndex);
409 for (int i = 0; i < curLen; ++i, ++glyphIndex) {
410 glyphs[i] = glyphBuffer.glyphAt(from + glyphIndex);
411 horizontalOffset += glyphBuffer.advanceAt(from + glyphIndex);
414 currentWidth += glyphBuffer.advanceAt(from + glyphIndex);
/external/webkit/Source/WebCore/platform/graphics/android/fonts/
H A DFontAndroid.cpp1087 int glyphIndex; local
1089 for (glyphIndex = walker.length() - 1; glyphIndex >= 0; --glyphIndex) {
1090 if (x < truncateFixedPointToInteger(advances[glyphIndex]))
1092 x -= truncateFixedPointToInteger(advances[glyphIndex]);
1095 for (glyphIndex = 0; glyphIndex < static_cast<int>(walker.length());
1096 ++glyphIndex) {
1097 if (x < truncateFixedPointToInteger(advances[glyphIndex]))
1152 const int glyphIndex = glyphIndexForXPositionInScriptRun(walker, x); local
[all...]
/external/skia/src/ports/
H A DSkFontHost_FreeType.cpp424 FT_UInt glyphIndex; local
425 for (SkUnichar charCode = FT_Get_First_Char(face, &glyphIndex);
426 glyphIndex != 0;
427 charCode = FT_Get_Next_Char(face, charCode, &glyphIndex)) {
429 ((*glyphToUnicode)[glyphIndex] == 0 || preferredMap)) {
430 (*glyphToUnicode)[glyphIndex] = charCode;
934 FT_UInt glyphIndex; local
935 SkUnichar charCode = FT_Get_First_Char( fFace, &glyphIndex );
937 while (glyphIndex != 0) {
938 if (glyphIndex
[all...]

Completed in 348 milliseconds