/third_party/skia/modules/skparagraph/src/ |
D | Run.h | 95 … 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 …]
|
D | TextStyle.cpp | 196 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()
|
D | Run.cpp | 69 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()
|
D | ParagraphStyle.cpp | 22 fLeading = -1; in StrutStyle()
|
/third_party/skia/experimental/sktext/src/ |
D | Line.h | 25 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/ |
D | FontMap.cpp | 27 …: 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()
|
D | GDIFontInstance.cpp | 112 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()
|
D | GDIFontInstance.h | 67 le_int32 fLeading; variable 134 return fLeading; in getLeading()
|
D | GnomeFontInstance.h | 66 le_int32 fLeading; variable 144 return fLeading; in getLeading()
|
D | GnomeFontInstance.cpp | 56 : 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/ |
D | FontMap.cpp | 27 …: 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()
|
D | GDIFontInstance.cpp | 112 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()
|
D | GnomeFontInstance.h | 66 le_int32 fLeading; variable 144 return fLeading; in getLeading()
|
D | GDIFontInstance.h | 67 le_int32 fLeading; variable 134 return fLeading; in getLeading()
|
D | GnomeFontInstance.cpp | 56 : 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()
|
D | FontMap.h | 55 le_int32 fLeading; variable
|
/third_party/skia/modules/skparagraph/include/ |
D | ParagraphStyle.h | 54 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/ |
D | SkFontMetrics.h | 25 this->fLeading == that.fLeading && 56 SkScalar fLeading; //!< distance to add between lines, typically positive or zero member
|
/third_party/icu/icu4c/source/layoutex/layout/ |
D | ParagraphLayout.h | 173 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/ |
D | scaledemoji.cpp | 80 y += metrics.fDescent + metrics.fLeading; in onDraw() 138 y += metrics.fDescent + metrics.fLeading; in onDraw() 202 y += metrics.fDescent + metrics.fLeading; in onDraw()
|
D | coloremoji.cpp | 109 y += metrics.fDescent + metrics.fLeading; in onDraw() 147 y += metrics.fDescent + metrics.fLeading; in onDraw()
|
/third_party/skia/samplecode/ |
D | SampleChineseFling.cpp | 65 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/ |
D | ParagraphLayout.cpp | 323 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/ |
D | PortableFontInstance.cpp | 86 …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/ |
D | PortableFontInstance.cpp | 82 …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()
|