/third_party/skia/modules/skparagraph/src/ |
D | Run.h | 95 …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 …]
|
D | TextStyle.cpp | 196 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()
|
D | Run.cpp | 70 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/ |
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/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 | 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.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.h | 66 le_int32 fDescent; variable 129 return fDescent; in getDescent()
|
D | GnomeFontInstance.h | 65 le_int32 fDescent; variable 139 return fDescent; in getDescent()
|
/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 | 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.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 | 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()
|
D | PortableFontInstance.cpp | 82 …: 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/ |
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()
|
D | PortableFontInstance.cpp | 86 …: 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/ |
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/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() 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/ |
D | shape.cpp | 63 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()
|