Home
last modified time | relevance | path

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

123

/third_party/skia/modules/skparagraph/src/
DRun.h95 …return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLe… in advance()
99 SkScalar descent() const { return fFontMetrics.fDescent + fBaselineShift; } in descent()
432 fDescent = d; in InternalLineMetrics()
442 fDescent = d; in InternalLineMetrics()
460 fDescent = metrics.fDescent; in InternalLineMetrics()
463 fRawDescent = metrics.fDescent; in InternalLineMetrics()
473 fDescent = std::max(fDescent, run->correctDescent()); in InternalLineMetrics()
483 fDescent = std::max(fDescent, other.fDescent); in InternalLineMetrics()
492 fDescent = SK_ScalarMin; in InternalLineMetrics()
501 fDescent == SK_ScalarMin && in InternalLineMetrics()
[all …]
DTextStyle.cpp196 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
198 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
202 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2); in getFontMetrics()
206 metrics->fDescent += fBaselineShift; in getFontMetrics()
DRun.cpp70 fCorrectDescent = fFontMetrics.fDescent + fFontMetrics.fLeading * 0.5; in calculateMetrics()
281 fFontMetrics.fDescent = baselineAdjustment - offset; in updateMetrics()
286 fFontMetrics.fDescent = baselineAdjustment; in updateMetrics()
291 fFontMetrics.fDescent = baselineAdjustment + height; in updateMetrics()
296 fFontMetrics.fDescent = height + fFontMetrics.fAscent; in updateMetrics()
300 fFontMetrics.fDescent = endlineMetrics->descent(); in updateMetrics()
301 fFontMetrics.fAscent = fFontMetrics.fDescent - height; in updateMetrics()
306 fFontMetrics.fDescent = mid + height / PARAM_TWO; 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/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()
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.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.h66 le_int32 fDescent; variable
129 return fDescent; in getDescent()
DGnomeFontInstance.h65 le_int32 fDescent; variable
139 return fDescent; in getDescent()
/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()
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.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()
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()
DPortableFontInstance.cpp82 …: fFile(NULL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), f… in PortableFontInstance()
170 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance()
434 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()
DPortableFontInstance.cpp86 …: fFile(NULL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), f… in PortableFontInstance()
173 fDescent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->descent)); in PortableFontInstance()
442 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/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()
Dcoloremoji.cpp109 y += metrics.fDescent + metrics.fLeading; in onDraw()
147 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()
/third_party/icu/icu4c/source/layoutex/
DParagraphLayout.cpp323 fAscent(0), fDescent(0), fLeading(0), in ParagraphLayout()
650 return fDescent; in getDescent()
842 if (descent > fDescent) { in computeMetrics()
843 fDescent = descent; in computeMetrics()
855 fLeading = maxDL - fDescent; in computeMetrics()
1188 return fDescent; in getDescent()
1253 if (descent > fDescent) { in computeMetrics()
1254 fDescent = descent; in computeMetrics()
1266 fLeading = maxDL - fDescent; in computeMetrics()
/third_party/skia/modules/skplaintexteditor/src/
Dshape.cpp63 fCurrentPosition.y() + metrics.fDescent - metrics.fAscent}; in finalRect()
104 fMaxRunDescent = std::max(fMaxRunDescent, metrics.fDescent); in runInfo()
180 pos.y() + metrics.fDescent}.makeSorted(); in selection_box()

123