/third_party/flutter/skia/modules/skparagraph/src/ |
D | Run.h | 68 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 …]
|
D | TextStyle.cpp | 130 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/ |
D | Run.h | 86 …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 …]
|
D | TextStyle.cpp | 164 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()
|
D | Run.cpp | 58 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/ |
D | Line.h | 24 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/ |
D | FontMap.cpp | 27 …: 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()
|
D | GnomeFontInstance.cpp | 56 : 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()
|
D | GDIFontInstance.cpp | 112 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/ |
D | FontMap.cpp | 27 …: 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()
|
D | GnomeFontInstance.cpp | 56 : 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()
|
D | GDIFontInstance.cpp | 112 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()
|
D | GnomeFontInstance.h | 65 le_int32 fDescent; variable 139 return fDescent; in getDescent()
|
/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() 244 if (fDescent <= 0) { in getDescent() 248 return fDescent; in getDescent() 282 if (descent > fDescent) { in getMaxMetrics() 283 fDescent = descent; in getMaxMetrics()
|
D | GnomeFontInstance.cpp | 56 : 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()
|
D | GDIFontInstance.cpp | 112 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()
|
D | GnomeFontInstance.h | 65 le_int32 fDescent; variable 139 return fDescent; in getDescent()
|
D | GDIFontInstance.h | 66 le_int32 fDescent; variable 129 return fDescent; in getDescent()
|
/third_party/icu/icu4c/source/test/letest/ |
D | SimpleFontInstance.cpp | 29 : 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/ |
D | SimpleFontInstance.cpp | 30 : 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/ |
D | SkFontMetrics.h | 23 this->fDescent == that.fDescent && 54 SkScalar fDescent; //!< distance to reserve below baseline, typically positive member
|
/third_party/icu/icu4c/source/layoutex/layout/ |
D | ParagraphLayout.h | 172 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/ |
D | SampleChineseFling.cpp | 65 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/ |
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()
|
/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()
|