Searched refs:fFontMetrics (Results 1 – 11 of 11) sorted by relevance
75 return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent); in advance()78 SkScalar ascent() const { return fFontMetrics.fAscent; } in ascent()82 return fFontMetrics.fAscent - fFontMetrics.fLeading / 2; in correctAscent()84 return fFontMetrics.fAscent * fHeightMultiplier * fFont.getSize() / in correctAscent()85 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctAscent()90 return fFontMetrics.fDescent + fFontMetrics.fLeading / 2; in correctDescent()92 return fFontMetrics.fDescent * fHeightMultiplier * fFont.getSize() / in correctDescent()93 (fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLeading / 2); in correctDescent()98 return fFontMetrics.fAscent; in correctLeading()100 return fFontMetrics.fLeading * fHeightMultiplier * fFont.getSize() / in correctLeading()[all …]
44 info.fFont.getMetrics(&fFontMetrics); in Run()266 fFontMetrics.fLeading = 0; in updateMetrics()269 fFontMetrics.fAscent = baselineAdjustment - offset; in updateMetrics()270 fFontMetrics.fDescent = baselineAdjustment + height - offset; in updateMetrics()274 fFontMetrics.fAscent = baselineAdjustment - height; in updateMetrics()275 fFontMetrics.fDescent = baselineAdjustment; in updateMetrics()279 fFontMetrics.fAscent = baselineAdjustment; in updateMetrics()280 fFontMetrics.fDescent = baselineAdjustment + height; in updateMetrics()284 fFontMetrics.fDescent = height + fFontMetrics.fAscent; in updateMetrics()288 fFontMetrics.fAscent = fFontMetrics.fDescent - height; in updateMetrics()[all …]
104 …fMaxRunMetrics.add(InternalLineMetrics(run.fFontMetrics.fAscent, run.fFontMetrics.fDescent, run.fF… in TextLine()
59 , fFontMetrics(fontMetrics) in SkTestSVGTypeface()100 *metrics = fFontMetrics; in getFontMetrics()340 out->writeScalarAsText(fFontMetrics.fXMin); in exportTtxCommon()343 out->writeScalarAsText(-fFontMetrics.fBottom); in exportTtxCommon()346 out->writeScalarAsText(fFontMetrics.fXMax); in exportTtxCommon()349 out->writeScalarAsText(-fFontMetrics.fTop); in exportTtxCommon()387 out->writeDecAsText(-fFontMetrics.fAscent); in exportTtxCommon()390 out->writeDecAsText(-fFontMetrics.fDescent); in exportTtxCommon()393 out->writeDecAsText(fFontMetrics.fLeading); in exportTtxCommon()399 out->writeScalarAsText(fFontMetrics.fXMax - fFontMetrics.fXMin); in exportTtxCommon()[all …]
139 const SkFontMetrics fFontMetrics; variable
59 , fFontMetrics(fontMetrics) in TestSVGTypeface()127 void TestSVGTypeface::getFontMetrics(SkFontMetrics* metrics) const { *metrics = fFontMetrics; } in getFontMetrics()403 out->writeScalarAsText(fFontMetrics.fXMin); in exportTtxCommon()406 out->writeScalarAsText(-fFontMetrics.fBottom); in exportTtxCommon()409 out->writeScalarAsText(fFontMetrics.fXMax); in exportTtxCommon()412 out->writeScalarAsText(-fFontMetrics.fTop); in exportTtxCommon()449 out->writeDecAsText(-fFontMetrics.fAscent); in exportTtxCommon()452 out->writeDecAsText(-fFontMetrics.fDescent); in exportTtxCommon()455 out->writeDecAsText(fFontMetrics.fLeading); in exportTtxCommon()461 out->writeScalarAsText(fFontMetrics.fXMax - fFontMetrics.fXMin); in exportTtxCommon()[all …]
152 const SkFontMetrics fFontMetrics; variable
54 return fFontMetrics; in getFontMetrics()126 const SkFontMetrics fFontMetrics; variable
33 , fFontMetrics{use_or_generate_metrics(fontMetrics, fScalerContext.get())}
115 return fFontMetrics; in getFontMetrics()205 SkFontMetrics fFontMetrics; variable
31 , fFontMetrics{fontMetrics}