Home
last modified time | relevance | path

Searched refs:fLeading (Results 1 – 25 of 44) sorted by relevance

12

/third_party/skia/modules/skparagraph/src/
DRun.h95 … SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading); in advance()
100 SkScalar leading() const { return fFontMetrics.fLeading; } in leading()
433 fLeading = l; in InternalLineMetrics()
443 fLeading = l; in InternalLineMetrics()
461 fLeading = metrics.fLeading; in InternalLineMetrics()
464 fRawLeading = metrics.fLeading; in InternalLineMetrics()
474 fLeading = std::max(fLeading, run->correctLeading()); in InternalLineMetrics()
484 fLeading = std::max(fLeading, other.fLeading); in InternalLineMetrics()
493 fLeading = 0; in InternalLineMetrics()
502 fLeading == 0 && in InternalLineMetrics()
[all …]
DTextStyle.cpp196 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
197 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
198 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
201 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics()
202 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2); in getFontMetrics()
DRun.cpp69 fCorrectAscent = fFontMetrics.fAscent - fFontMetrics.fLeading * 0.5; in calculateMetrics()
70 fCorrectDescent = fFontMetrics.fDescent + fFontMetrics.fLeading * 0.5; in calculateMetrics()
277 fFontMetrics.fLeading = 0; in updateMetrics()
DParagraphStyle.cpp22 fLeading = -1; in StrutStyle()
/third_party/skia/experimental/sktext/src/
DLine.h25 fLeading = metrics.fLeading; in TextMetrics()
35 this->fLeading = std::max(this->fLeading, tail.fLeading); in merge()
41 this->fLeading = 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()
53 SkScalar below() const { return this->fDescent + this->fLeading / 2; } in below()
58 SkScalar fLeading; 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()
253 if (fLeading <= 0) { in getLeading()
257 return fLeading; in getLeading()
286 if (leading > fLeading) { in getMaxMetrics()
287 fLeading = leading; in getMaxMetrics()
DGDIFontInstance.cpp112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
179 fLeading = otm.otmTextMetrics.tmExternalLeading; in GDIFontInstance()
197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
263 fLeading = otm.otmTextMetrics.tmExternalLeading; in GDIFontInstance()
288 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in GDIFontInstance()
DGDIFontInstance.h67 le_int32 fLeading; variable
134 return fLeading; in getLeading()
DGnomeFontInstance.h66 le_int32 fLeading; variable
144 return fLeading; in getLeading()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), 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()
253 if (fLeading <= 0) { in getLeading()
257 return fLeading; in getLeading()
286 if (leading > fLeading) { in getMaxMetrics()
287 fLeading = leading; in getMaxMetrics()
DGDIFontInstance.cpp112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
179 fLeading = otm.otmTextMetrics.tmExternalLeading; in GDIFontInstance()
197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
263 fLeading = otm.otmTextMetrics.tmExternalLeading; in GDIFontInstance()
288 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in GDIFontInstance()
DGnomeFontInstance.h66 le_int32 fLeading; variable
144 return fLeading; in getLeading()
DGDIFontInstance.h67 le_int32 fLeading; variable
134 return fLeading; in getLeading()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
DFontMap.h55 le_int32 fLeading; variable
/third_party/skia/modules/skparagraph/include/
DParagraphStyle.h54 void setLeading(SkScalar Leading) { fLeading = Leading; } in setLeading()
55 SkScalar getLeading() const { return fLeading; } in getLeading()
80 nearlyEqual(this->fLeading, rhs.fLeading) &&
99 SkScalar fLeading; member
/third_party/skia/include/core/
DSkFontMetrics.h25 this->fLeading == that.fLeading &&
56 SkScalar fLeading; //!< distance to add between lines, typically positive or zero member
/third_party/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h173 le_int32 fLeading; variable
622 le_int32 fLeading; 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()
659 return fLeading; in getLeading()
846 if (leading > fLeading) { in computeMetrics()
847 fLeading = leading; in computeMetrics()
855 fLeading = maxDL - fDescent; in computeMetrics()
1197 return fLeading; in getLeading()
1257 if (leading > fLeading) { in computeMetrics()
1258 fLeading = leading; in computeMetrics()
1266 fLeading = maxDL - fDescent; in computeMetrics()
/third_party/icu/icu4c/source/test/perf/leperf/
DPortableFontInstance.cpp86 …LL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), fLeading(0), in PortableFontInstance()
174 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()
447 return fLeading; in getLeading()
/third_party/icu/icu4c/source/test/letest/
DPortableFontInstance.cpp82 …LL), fPointSize(pointSize), fUnitsPerEM(0), fFontChecksum(0), fAscent(0), fDescent(0), fLeading(0), in PortableFontInstance()
171 fLeading = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->lineGap)); in PortableFontInstance()
439 return fLeading; in getLeading()

12