Home
last modified time | relevance | path

Searched refs:fAdvance (Results 1 – 17 of 17) sorted by relevance

/external/skia/legacy/src/core/
DSkAdvancedTypefaceMetrics.cpp45 if (range->fAdvance.count() < expectedAdvanceCount) { in stripUninterestingTrailingAdvancesFromRange()
50 if (range->fAdvance[i] != kDontCareAdvance && in stripUninterestingTrailingAdvancesFromRange()
51 range->fAdvance[i] != kInvalidAdvance && in stripUninterestingTrailingAdvancesFromRange()
52 range->fAdvance[i] != 0) { in stripUninterestingTrailingAdvancesFromRange()
63 range->fAdvance.setCount(0); in resetRange()
88 SkASSERT(range->fAdvance.count() == range->fEndId - range->fStartId + 1); in zeroWildcardsInRange()
91 for (int i = 0; i < range->fAdvance.count(); ++i) { in zeroWildcardsInRange()
92 if (range->fAdvance[i] == kDontCareAdvance) { in zeroWildcardsInRange()
93 range->fAdvance[i] = 0; in zeroWildcardsInRange()
117 SkASSERT(range->fAdvance.count() >= newLength); in finishRange()
[all …]
/external/skia/src/core/
DSkAdvancedTypefaceMetrics.cpp51 if (range->fAdvance.count() < expectedAdvanceCount) { in stripUninterestingTrailingAdvancesFromRange()
56 if (range->fAdvance[i] != kDontCareAdvance && in stripUninterestingTrailingAdvancesFromRange()
57 range->fAdvance[i] != kInvalidAdvance && in stripUninterestingTrailingAdvancesFromRange()
58 range->fAdvance[i] != 0) { in stripUninterestingTrailingAdvancesFromRange()
69 range->fAdvance.setCount(0); in resetRange()
94 SkASSERT(range->fAdvance.count() == range->fEndId - range->fStartId + 1); in zeroWildcardsInRange()
97 for (int i = 0; i < range->fAdvance.count(); ++i) { in zeroWildcardsInRange()
98 if (range->fAdvance[i] == kDontCareAdvance) { in zeroWildcardsInRange()
99 range->fAdvance[i] = 0; in zeroWildcardsInRange()
123 SkASSERT(range->fAdvance.count() >= newLength); in finishRange()
[all …]
/external/skia/src/effects/
DSk1DPathEffect.cpp38 fAdvance = 0; // signals we can't draw anything in SkPath1DPathEffect()
61 fAdvance = advance; in SkPath1DPathEffect()
73 if (fAdvance > 0) { in filterPath()
150 fAdvance = buffer.readScalar(); in SkPath1DPathEffect()
151 if (fAdvance > 0) { in SkPath1DPathEffect()
169 buffer.writeScalar(fAdvance); in flatten()
170 if (fAdvance > 0) { in flatten()
199 return fAdvance; in next()
/external/skia/legacy/src/effects/
DSk1DPathEffect.cpp36 fAdvance = 0; // signals we can't draw anything in SkPath1DPathEffect()
57 fAdvance = advance; in SkPath1DPathEffect()
69 if (fAdvance > 0) { in filterPath()
140 fAdvance = buffer.readScalar(); in SkPath1DPathEffect()
141 if (fAdvance > 0) { in SkPath1DPathEffect()
153 buffer.writeScalar(fAdvance); in flatten()
154 if (fAdvance > 0) { in flatten()
181 return fAdvance; in next()
/external/skia/tests/
DWArrayTest.cpp116 result.appendf("%d %d %d", data->fStartId, data->fEndId, data->fAdvance[0]); in stringify_advance_data()
120 for (int i = 0; i < data->fAdvance.count(); ++i) { in stringify_advance_data()
124 result.appendf("%d", data->fAdvance[i]); in stringify_advance_data()
129 result.appendf("<Default=%d>", data->fAdvance[0]); in stringify_advance_data()
/external/skia/src/pdf/
DSkPDFFont.cpp315 SkASSERT(advanceInfo->fAdvance.count() == 1); in composeAdvanceData()
316 *defaultAdvance = advanceInfo->fAdvance[0]; in composeAdvanceData()
321 for (int j = 0; j < advanceInfo->fAdvance.count(); j++) in composeAdvanceData()
322 appendAdvance(advanceInfo->fAdvance[j], emSize, in composeAdvanceData()
329 SkASSERT(advanceInfo->fAdvance.count() == 1); in composeAdvanceData()
332 appendAdvance(advanceInfo->fAdvance[0], emSize, result); in composeAdvanceData()
1261 defaultWidth = widthEntry->fAdvance[0]; in populate()
1308 if (endIndex > widthRangeEntry->fAdvance.count()) in addWidthInfoFromRange()
1309 endIndex = widthRangeEntry->fAdvance.count(); in addWidthInfoFromRange()
1311 appendWidth(widthRangeEntry->fAdvance[0], emSize, widthArray.get()); in addWidthInfoFromRange()
[all …]
/external/skia/include/effects/
DSk1DPathEffect.h72 SkScalar fAdvance; // copied from constructor variable
/external/skia/legacy/include/effects/
DSk1DPathEffect.h80 SkScalar fAdvance; // copied from constructor variable
/external/skia/legacy/include/core/
DSkAdvancedTypefaceMetrics.h92 SkTDArray<Data> fAdvance; member
/external/skia/include/core/
DSkAdvancedTypefaceMetrics.h94 SkTDArray<Data> fAdvance; member
/external/skia/src/ports/
DSkFontHost_FreeType.cpp577 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics()
592 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics()
DSkFontHost_win_dw.cpp1545 info->fGlyphWidths->fAdvance.append(1, &advance);
DSkFontHost_win.cpp1528 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()
DSkFontHost_mac_coretext.cpp1562 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()
/external/skia/legacy/src/ports/
DSkFontHost_FreeType.cpp563 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics()
578 info->fGlyphWidths->fAdvance.append(1, &advance); in GetAdvancedTypefaceMetrics()
DSkFontHost_win.cpp1168 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()
DSkFontHost_mac_coretext.cpp1710 info->fGlyphWidths->fAdvance.append(1, &min_width); in GetAdvancedTypefaceMetrics()