Home
last modified time | relevance | path

Searched refs:fDescent (Results 1 – 25 of 91) sorted by relevance

1234

/third_party/flutter/skia/modules/skparagraph/src/
DRun.h68 return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent); in advance()
80 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctAscent()
85 return fFontMetrics.fDescent + fFontMetrics.fLeading / 2; in correctDescent()
87 return fFontMetrics.fDescent * fHeightMultiplier * fFont.getSize() / in correctDescent()
88 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctDescent()
96 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading); in correctLeading()
119 return fFontMetrics.fDescent - fFontMetrics.fAscent; in calculateHeight()
297 fDescent = d; in LineMetrics()
305 fDescent = metrics.fDescent; in LineMetrics()
316 fDescent = SkTMax(fDescent, run->correctDescent()); in add()
[all …]
DTextStyle.cpp130 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
132 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
136 metrics->fDescent = (metrics->fDescent + 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()
90 SkScalar descent() const { return fFontMetrics.fDescent + fBaselineShift; } in descent()
371 fDescent = d; in InternalLineMetrics()
383 fDescent = metrics.fDescent; in InternalLineMetrics()
386 fRawDescent = metrics.fDescent; in InternalLineMetrics()
397 fDescent = std::max(fDescent, run->correctDescent()); in add()
407 fDescent = std::max(fDescent, other.fDescent); in add()
416 fDescent = SK_ScalarMin; in clean()
428 metrics.fDescent = fDescent; in updateLineMetrics()
436 metrics.fDescent = std::max(metrics.fDescent, fDescent + fLeading / 2.0f); in updateLineMetrics()
[all …]
DTextStyle.cpp164 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
166 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
170 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2); in getFontMetrics()
174 metrics->fDescent += fBaselineShift; in getFontMetrics()
DRun.cpp58 fCorrectDescent = fFontMetrics.fDescent + fFontMetrics.fLeading * 0.5; in calculateMetrics()
220 fFontMetrics.fDescent = baselineAdjustment + height - offset; in updateMetrics()
225 fFontMetrics.fDescent = baselineAdjustment; in updateMetrics()
230 fFontMetrics.fDescent = baselineAdjustment + height; 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()
243 fFontMetrics.fDescent = height/2.0 - mid; in updateMetrics()
/third_party/skia/experimental/sktext/src/
DLine.h24 fDescent = metrics.fDescent; in TextMetrics()
34 this->fDescent = std::max(this->fDescent, tail.fDescent); in merge()
40 this->fDescent = 0; in clean()
45 return this->fDescent - this->fAscent + this->fLeading; in height()
53 SkScalar below() const { return this->fDescent + this->fLeading / 2; } in below()
57 SkScalar fDescent; variable
/third_party/icu/icu4c/source/samples/layout/
DFontMap.cpp27 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap()
244 if (fDescent <= 0) { in getDescent()
248 return fDescent; in getDescent()
282 if (descent > fDescent) { in getMaxMetrics()
283 fDescent = descent; in getMaxMetrics()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
83 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
DGDIFontInstance.cpp112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
178 fDescent = otm.otmTextMetrics.tmDescent; in GDIFontInstance()
197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
262 fDescent = otm.otmTextMetrics.tmDescent; in GDIFontInstance()
287 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in GDIFontInstance()
/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()
244 if (fDescent <= 0) { in getDescent()
248 return fDescent; in getDescent()
282 if (descent > fDescent) { in getMaxMetrics()
283 fDescent = descent; in getMaxMetrics()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
83 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
DGDIFontInstance.cpp112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
178 fDescent = otm.otmTextMetrics.tmDescent; in GDIFontInstance()
197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
262 fDescent = otm.otmTextMetrics.tmDescent; in GDIFontInstance()
287 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in GDIFontInstance()
DGnomeFontInstance.h65 le_int32 fDescent; variable
139 return fDescent; in getDescent()
/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()
244 if (fDescent <= 0) { in getDescent()
248 return fDescent; in getDescent()
282 if (descent > fDescent) { in getMaxMetrics()
283 fDescent = descent; in getMaxMetrics()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
83 fDescent = (le_int32) -(yUnitsToPoints(fFace->descender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
DGDIFontInstance.cpp112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
178 fDescent = otm.otmTextMetrics.tmDescent; in GDIFontInstance()
197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
262 fDescent = otm.otmTextMetrics.tmDescent; in GDIFontInstance()
287 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in GDIFontInstance()
DGnomeFontInstance.h65 le_int32 fDescent; variable
139 return fDescent; in getDescent()
DGDIFontInstance.h66 le_int32 fDescent; variable
129 return fDescent; in getDescent()
/third_party/icu/icu4c/source/test/letest/
DSimpleFontInstance.cpp29 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance()
36 fDescent = (le_int32) yUnitsToPoints(600.0); in SimpleFontInstance()
89 return fDescent; in getDescent()
/third_party/icu/icu4c/source/test/perf/leperf/
DSimpleFontInstance.cpp30 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance()
37 fDescent = (le_int32) yUnitsToPoints(600.0); in SimpleFontInstance()
87 return fDescent; in getDescent()
/third_party/skia/include/core/
DSkFontMetrics.h23 this->fDescent == that.fDescent &&
54 SkScalar fDescent; //!< distance to reserve below baseline, typically positive member
/third_party/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h172 le_int32 fDescent; variable
621 le_int32 fDescent; variable
664 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
670 : UObject(), fAscent(0), fDescent(0), fLeading(0), fRunCount(0), fRunCapacity(0), fRuns(NULL) in Line()
/third_party/flutter/skia/samplecode/
DSampleChineseFling.cpp65 y += fMetrics.fDescent + fMetrics.fLeading; 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/skia/gm/
Dscaledemoji.cpp80 y += metrics.fDescent + metrics.fLeading; in onDraw()
138 y += metrics.fDescent + metrics.fLeading; in onDraw()
202 y += metrics.fDescent + metrics.fLeading; in onDraw()
/third_party/skia/samplecode/
DSampleChineseFling.cpp65 y += fMetrics.fDescent + fMetrics.fLeading; in onDrawContent()
176 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
208 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in onOnceBeforeDraw()

1234