Home
last modified time | relevance | path

Searched refs:fAscent (Results 1 – 25 of 114) sorted by relevance

12345

/third_party/flutter/skia/modules/skparagraph/src/
DRun.h68 return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent); in advance()
71 SkScalar ascent() const { return fFontMetrics.fAscent; } in ascent()
77 return fFontMetrics.fAscent - fFontMetrics.fLeading / 2; in correctAscent()
79 return fFontMetrics.fAscent * fHeightMultiplier * fFont.getSize() / in correctAscent()
80 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctAscent()
88 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctDescent()
93 return fFontMetrics.fAscent; in correctLeading()
96 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading); in correctLeading()
119 return fFontMetrics.fDescent - fFontMetrics.fAscent; in calculateHeight()
296 fAscent = a; in LineMetrics()
[all …]
DTextStyle.cpp130 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
131 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
135 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics()
/third_party/skia/modules/skparagraph/src/
DRun.h86 …return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLe… in advance()
89 SkScalar ascent() const { return fFontMetrics.fAscent + fBaselineShift; } in ascent()
370 fAscent = a; in InternalLineMetrics()
382 fAscent = metrics.fAscent; in InternalLineMetrics()
385 fRawAscent = metrics.fAscent; in InternalLineMetrics()
396 fAscent = std::min(fAscent, run->correctAscent()); in add()
406 fAscent = std::min(fAscent, other.fAscent); in add()
415 fAscent = SK_ScalarMax; in clean()
427 metrics.fAscent = fAscent; in updateLineMetrics()
435 metrics.fAscent = std::min(metrics.fAscent, fAscent - fLeading / 2.0f); in updateLineMetrics()
[all …]
DTextStyle.cpp164 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
165 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
169 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics()
173 metrics->fAscent += fBaselineShift; in getFontMetrics()
DRun.cpp57 fCorrectAscent = fFontMetrics.fAscent - fFontMetrics.fLeading * 0.5; in calculateMetrics()
219 fFontMetrics.fAscent = baselineAdjustment - offset; in updateMetrics()
224 fFontMetrics.fAscent = baselineAdjustment - height; in updateMetrics()
229 fFontMetrics.fAscent = baselineAdjustment; in updateMetrics()
234 fFontMetrics.fDescent = height + fFontMetrics.fAscent; in updateMetrics()
238 fFontMetrics.fAscent = fFontMetrics.fDescent - height; in updateMetrics()
242 auto mid = (-fFontMetrics.fDescent - fFontMetrics.fAscent)/2.0; in updateMetrics()
244 fFontMetrics.fAscent = - height/2.0 - mid; in updateMetrics()
/third_party/skia/experimental/sktext/src/
DLine.h23 fAscent = metrics.fAscent; in TextMetrics()
33 this->fAscent = std::min(this->fAscent, tail.fAscent); in merge()
39 this->fAscent = 0; in clean()
45 return this->fDescent - this->fAscent + this->fLeading; in height()
49 return - this->fAscent + this->fLeading / 2; in baseline()
52 SkScalar above() const { return - this->fAscent + this->fLeading / 2; } in above()
56 SkScalar fAscent;
/third_party/skia/third_party/externals/icu/source/samples/layout/
DFontMap.cpp27 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap()
235 if (fAscent <= 0) { in getAscent()
239 return fAscent; in getAscent()
278 if (ascent > fAscent) { in getMaxMetrics()
279 fAscent = ascent; in getMaxMetrics()
Dparagraph.h71 le_int32 fAscent; variable
89 return fAscent; in getAscent()
Dpflow.c59 le_int32 fAscent; member
138 flow->fAscent = -1; in pf_create()
217 flow->fAscent = ascent; in pf_create()
252 return obj->fAscent; in pf_getAscent()
324 y = obj->fAscent; in pf_draw()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
/third_party/flutter/skia/third_party/externals/icu/source/samples/layout/
DFontMap.cpp27 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap()
235 if (fAscent <= 0) { in getAscent()
239 return fAscent; in getAscent()
278 if (ascent > fAscent) { in getMaxMetrics()
279 fAscent = ascent; in getMaxMetrics()
Dparagraph.h71 le_int32 fAscent; variable
89 return fAscent; in getAscent()
Dpflow.c59 le_int32 fAscent; member
138 flow->fAscent = -1; in pf_create()
217 flow->fAscent = ascent; in pf_create()
252 return obj->fAscent; in pf_getAscent()
324 y = obj->fAscent; in pf_draw()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
/third_party/icu/icu4c/source/samples/layout/
DFontMap.cpp27 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap()
235 if (fAscent <= 0) { in getAscent()
239 return fAscent; in getAscent()
278 if (ascent > fAscent) { in getMaxMetrics()
279 fAscent = ascent; in getMaxMetrics()
Dparagraph.h71 le_int32 fAscent; variable
89 return fAscent; in getAscent()
Dpflow.c59 le_int32 fAscent; member
138 flow->fAscent = -1; in pf_create()
217 flow->fAscent = ascent; in pf_create()
252 return obj->fAscent; in pf_getAscent()
324 y = obj->fAscent; in pf_draw()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
/third_party/icu/icu4c/source/test/perf/leperf/
DSimpleFontInstance.cpp30 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance()
36 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
82 return fAscent; in getAscent()
/third_party/icu/icu4c/source/test/letest/
DSimpleFontInstance.cpp29 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance()
35 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
84 return fAscent; in getAscent()
/third_party/skia/include/core/
DSkFontMetrics.h22 this->fAscent == that.fAscent &&
53 SkScalar fAscent; //!< distance to reserve above baseline, typically negative member
/third_party/skia/samplecode/
DSampleChineseFling.cpp62 y += -fMetrics.fAscent; in onDrawContent()
173 y += -fMetrics.fAscent; in onDrawContent()
176 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
208 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in onOnceBeforeDraw()
/third_party/flutter/skia/samplecode/
DSampleChineseFling.cpp62 y += -fMetrics.fAscent; in onDrawContent()
169 y += -fMetrics.fAscent; in onDrawContent()
172 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
204 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in onOnceBeforeDraw()
/third_party/icu/icu4c/source/layoutex/
DParagraphLayout.cpp323 fAscent(0), fDescent(0), fLeading(0), in ParagraphLayout()
637 if (fAscent <= 0 && fCharCount > 0) { in getAscent()
641 return fAscent; in getAscent()
646 if (fAscent <= 0 && fCharCount > 0) { in getDescent()
655 if (fAscent <= 0 && fCharCount > 0) { in getLeading()
838 if (ascent > fAscent) { in computeMetrics()
839 fAscent = ascent; in computeMetrics()
1175 if (fAscent <= 0) { in getAscent()
1179 return fAscent; in getAscent()
1184 if (fAscent <= 0) { in getDescent()
[all …]
/third_party/skia/modules/skottie/src/text/
DSkottieShaper.h31 fAscent; member
112 fAscent; member

12345