Searched refs:gId (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkAdvancedTypefaceMetrics.cpp | 133 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 …]
|
D | SkAdvancedTypefaceMetrics.h | 148 bool (*getAdvance)(FontHandle fontHandle, int gId, Data* data));
|
/external/skia/tests/ |
D | WArrayTest.cpp | 154 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/ |
D | SkTypeface_win_dw.cpp | 308 static bool getWidthAdvance(IDWriteFontFace* fontFace, int gId, int16_t* advance) { in getWidthAdvance() argument 311 UINT16 glyphId = gId; in getWidthAdvance()
|
D | SkFontHost_FreeType.cpp | 403 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()
|
D | SkFontHost_mac.cpp | 1525 static bool getWidthAdvance(CTFontRef ctFont, int gId, int16_t* data) { in getWidthAdvance() argument 1528 CGGlyph glyph = gId; in getWidthAdvance()
|
D | SkFontHost_win.cpp | 1719 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()
|