Home
last modified time | relevance | path

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

123

/external/skia/modules/skparagraph/src/
DRun.h85 … SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading); in advance()
90 SkScalar leading() const { return fFontMetrics.fLeading; } in leading()
368 fLeading = l; in InternalLineMetrics()
380 fLeading = metrics.fLeading; in InternalLineMetrics()
383 fRawLeading = metrics.fLeading; in InternalLineMetrics()
394 fLeading = std::max(fLeading, run->correctLeading()); in add()
404 fLeading = std::max(fLeading, other.fLeading); in add()
413 fLeading = 0; in clean()
425 metrics.fLeading = fLeading; in updateLineMetrics()
431 metrics.fAscent = std::min(metrics.fAscent, fAscent - fLeading / 2.0f); in updateLineMetrics()
[all …]
DTextStyle.cpp157 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
158 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
159 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
162 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics()
163 metrics->fDescent = (metrics->fDescent + metrics->fLeading / 2); in getFontMetrics()
DRun.cpp55 fCorrectAscent = fFontMetrics.fAscent - fFontMetrics.fLeading * 0.5; in calculateMetrics()
56 fCorrectDescent = fFontMetrics.fDescent + fFontMetrics.fLeading * 0.5; in calculateMetrics()
211 fFontMetrics.fLeading = 0; in updateMetrics()
DParagraphStyle.cpp16 fLeading = -1; in StrutStyle()
/external/skia/experimental/sktext/src/
DLine.h27 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()
55 SkScalar fLeading; variable
/external/skia/modules/skparagraph/include/
DParagraphStyle.h36 void setLeading(SkScalar Leading) { fLeading = Leading; } in setLeading()
37 SkScalar getLeading() const { return fLeading; } in getLeading()
56 nearlyEqual(this->fLeading, rhs.fLeading) &&
69 SkScalar fLeading; member
/external/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()
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()
DFontMap.h55 le_int32 fLeading; variable
/external/skia/include/core/
DSkFontMetrics.h25 this->fLeading == that.fLeading &&
56 SkScalar fLeading; //!< distance to add between lines, typically positive or zero member
/external/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()
/external/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()
/external/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()
/external/skqp/modules/skshaper/src/
DSkShaper_primitive.cpp60 metrics.fLeading, in shape()
81 return point + SkVector::Make(0, metrics.fDescent + metrics.fLeading); in shape()
/external/skqp/samplecode/
DSampleChineseFling.cpp71 y += fMetrics.fDescent + fMetrics.fLeading; in onDrawContent()
193 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
222 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in init()
/external/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()
/external/skqp/gm/
Dscaledemoji.cpp75 y += metrics.fDescent + metrics.fLeading; in onDraw()
136 y += metrics.fDescent + metrics.fLeading; in onDraw()
Dcoloremoji.cpp95 y += metrics.fDescent + metrics.fLeading; in onDraw()
133 y += metrics.fDescent + metrics.fLeading; in onDraw()
/external/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()
/external/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()
/external/skqp/include/core/
DSkFontMetrics.h32 SkScalar fLeading; //!< distance to add between lines member

123