Home
last modified time | relevance | path

Searched refs:gId (Results 1 – 7 of 7) sorted by relevance

/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp133 bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data)) { in getAdvanceData() argument
168 for (int gId = firstIndex; gId <= lastIndex; gId++) { in getAdvanceData() local
170 if (gId < lastIndex) { in getAdvanceData()
173 static_cast<uint32_t>(gId) <= subsetGlyphIDs[subsetIndex])); in getAdvanceData()
176 static_cast<uint32_t>(gId) == subsetGlyphIDs[subsetIndex])) { in getAdvanceData()
177 SkAssertResult(getAdvance(fontHandle, gId, &advance)); in getAdvanceData()
192 resetRange(curRange, gId); in getAdvanceData()
195 finishRange(curRange, gId - 1, in getAdvanceData()
198 curRange = appendRange(&curRange->fNext, gId); in getAdvanceData()
208 gId - repeatedAdvances - wildCardsInRun - 2, in getAdvanceData()
[all …]
DSkAdvancedTypefaceMetrics.h148 bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data));
/external/skia/tests/
DWArrayTest.cpp154 static bool getAdvance(void* tc, int gId, int16_t* advance) { in getAdvance() argument
156 if (gId >= 0 && gId < testCase->fAdvancesLen) { in getAdvance()
157 *advance = testCase->fAdvances[gId]; in getAdvance()
/external/skia/src/ports/
DSkTypeface_win_dw.cpp308 static bool getWidthAdvance(IDWriteFontFace* fontFace, int gId, int16_t* advance) { in getWidthAdvance() argument
311 UINT16 glyphId = gId; in getWidthAdvance()
DSkFontHost_FreeType.cpp403 static bool getWidthAdvance(FT_Face face, int gId, int16_t* data) { in getWidthAdvance() argument
405 if (FT_Get_Advances(face, gId, 1, FT_LOAD_NO_SCALE, &advance)) { in getWidthAdvance()
DSkFontHost_mac.cpp1525 static bool getWidthAdvance(CTFontRef ctFont, int gId, int16_t* data) { in getWidthAdvance() argument
1528 CGGlyph glyph = gId; in getWidthAdvance()
DSkFontHost_win.cpp1719 static bool getWidthAdvance(HDC hdc, int gId, int16_t* advance) { in getWidthAdvance() argument
1725 if (GDI_ERROR == GetGlyphOutline(hdc, gId, flags, &gm, 0, NULL, &mat2)) { in getWidthAdvance()