Home
last modified time | relevance | path

Searched refs:fAscent (Results 1 – 25 of 93) sorted by relevance

1234

/external/skia/modules/skparagraph/src/
DRun.h85 …return SkVector::Make(fAdvance.fX, fFontMetrics.fDescent - fFontMetrics.fAscent + fFontMetrics.fLe… in advance()
88 SkScalar ascent() const { return fFontMetrics.fAscent; } in ascent()
366 fAscent = a; in InternalLineMetrics()
378 fAscent = metrics.fAscent; in InternalLineMetrics()
381 fRawAscent = metrics.fAscent; in InternalLineMetrics()
392 fAscent = std::min(fAscent, run->correctAscent()); in add()
402 fAscent = std::min(fAscent, other.fAscent); in add()
411 fAscent = SK_ScalarMax; in clean()
423 metrics.fAscent = fAscent; in updateLineMetrics()
431 metrics.fAscent = std::min(metrics.fAscent, fAscent - fLeading / 2.0f); in updateLineMetrics()
[all …]
DRun.cpp55 fCorrectAscent = fFontMetrics.fAscent - fFontMetrics.fLeading * 0.5; in calculateMetrics()
214 fFontMetrics.fAscent = baselineAdjustment - offset; in updateMetrics()
219 fFontMetrics.fAscent = baselineAdjustment - height; in updateMetrics()
224 fFontMetrics.fAscent = baselineAdjustment; in updateMetrics()
229 fFontMetrics.fDescent = height + fFontMetrics.fAscent; in updateMetrics()
233 fFontMetrics.fAscent = fFontMetrics.fDescent - height; in updateMetrics()
237 auto mid = (-fFontMetrics.fDescent - fFontMetrics.fAscent)/2.0; in updateMetrics()
239 fFontMetrics.fAscent = - height/2.0 - mid; in updateMetrics()
DTextStyle.cpp157 auto height = metrics->fDescent - metrics->fAscent + metrics->fLeading; in getFontMetrics()
158 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2) * multiplier / height; in getFontMetrics()
162 metrics->fAscent = (metrics->fAscent - metrics->fLeading / 2); in getFontMetrics()
/external/skia/experimental/sktext/src/
DLine.h25 fAscent = metrics.fAscent; in TextMetrics()
33 this->fAscent = std::min(this->fAscent, tail.fAscent); in merge()
39 this->fAscent = 0; in clean()
45 return this->fDescent - this->fAscent + this->fLeading; in height()
49 return - this->fAscent + this->fLeading / 2; in baseline()
53 SkScalar fAscent;
/external/icu/icu4c/source/test/perf/leperf/
DSimpleFontInstance.cpp30 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance()
36 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
82 return fAscent; in getAscent()
/external/icu/icu4c/source/samples/layout/
DFontMap.cpp27 …: fPointSize(pointSize), fFontCount(0), fAscent(0), fDescent(0), fLeading(0), fGUISupport(guiSuppo… in FontMap()
235 if (fAscent <= 0) { in getAscent()
239 return fAscent; in getAscent()
278 if (ascent > fAscent) { in getMaxMetrics()
279 fAscent = ascent; in getMaxMetrics()
Dparagraph.h71 le_int32 fAscent; variable
89 return fAscent; in getAscent()
Dpflow.c59 le_int32 fAscent; member
138 flow->fAscent = -1; in pf_create()
217 flow->fAscent = ascent; in pf_create()
252 return obj->fAscent; in pf_getAscent()
324 y = obj->fAscent; in pf_draw()
DGnomeFontInstance.cpp56 : FontTableCache(), fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GnomeFontInstance()
82 fAscent = (le_int32) (yUnitsToPoints(fFace->ascender) * fDeviceScaleY); in GnomeFontInstance()
84 fLeading = (le_int32) (yUnitsToPoints(fFace->height) * fDeviceScaleY) - fAscent - fDescent; in GnomeFontInstance()
DGDIFontInstance.cpp112 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
177 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance()
197 fPointSize(pointSize), fUnitsPerEM(0), fAscent(0), fDescent(0), fLeading(0), in GDIFontInstance()
261 fAscent = otm.otmTextMetrics.tmAscent; in GDIFontInstance()
286 fAscent = (le_int32) yUnitsToPoints((float) SWAPW(hheaTable->ascent)); in GDIFontInstance()
DGDIFontInstance.h65 le_int32 fAscent; variable
124 return fAscent; in getAscent()
DGnomeFontInstance.h64 le_int32 fAscent; variable
134 return fAscent; in getAscent()
/external/icu/icu4c/source/test/letest/
DSimpleFontInstance.cpp29 : fPointSize(pointSize), fAscent(0), fDescent(0) in SimpleFontInstance()
35 fAscent = (le_int32) yUnitsToPoints(2000.0); in SimpleFontInstance()
84 return fAscent; in getAscent()
/external/skia/include/core/
DSkFontMetrics.h22 this->fAscent == that.fAscent &&
53 SkScalar fAscent; //!< distance to reserve above baseline, typically negative member
/external/pdfium/core/fpdfdoc/
Dcpvt_word.h21 float fAscent; variable
31 fAscent(0.0f), in CPVT_Word()
/external/skia/samplecode/
DSampleChineseFling.cpp62 y += -fMetrics.fAscent; in onDrawContent()
173 y += -fMetrics.fAscent; in onDrawContent()
176 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
208 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in onOnceBeforeDraw()
/external/skqp/samplecode/
DSampleChineseFling.cpp68 y += -fMetrics.fAscent; in onDrawContent()
190 y += -fMetrics.fAscent; in onDrawContent()
193 y += 3*(fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading); in onDrawContent()
222 y += fMetrics.fDescent - fMetrics.fAscent + fMetrics.fLeading; in init()
/external/skia/modules/skottie/src/text/
DTextAdapter.cpp134 rec.fAscent = frag.fAscent; in addFragment()
175 auto box = SkRect::MakeLTRB(0, rec.fAscent, rec.fAdvance, 0); in addFragment()
229 word_ascent = std::min(word_ascent, frag.fAscent); // negative ascent in buildDomainMaps()
241 line_ascent = std::min(line_ascent, frag.fAscent); // negative ascent in buildDomainMaps()
276 fText->fAscent, in reshape()
440 return make_box(rec.fOrigin, rec.fAdvance, rec.fAscent); in fragmentAnchorPoint()
449 grouping_span->fAscent); in fragmentAnchorPoint()
DSkottieShaper.h31 fAscent; member
107 fAscent; member
DSkottieShaper.cpp86 fFirstLineAscent = std::min(fFirstLineAscent, metrics.fAscent); in runInfo()
272 ascent = metrics.fAscent; in commitFragementedRun()
332 return fDesc.fAscent ? fDesc.fAscent : fFirstLineAscent; in ascent()
417 desc.fAscent = try_scale * orig_desc.fAscent; in ShapeToFit()
/external/icu/icu4c/source/layoutex/
DParagraphLayout.cpp323 fAscent(0), fDescent(0), fLeading(0), in ParagraphLayout()
637 if (fAscent <= 0 && fCharCount > 0) { in getAscent()
641 return fAscent; in getAscent()
646 if (fAscent <= 0 && fCharCount > 0) { in getDescent()
655 if (fAscent <= 0 && fCharCount > 0) { in getLeading()
838 if (ascent > fAscent) { in computeMetrics()
839 fAscent = ascent; in computeMetrics()
1175 if (fAscent <= 0) { in getAscent()
1179 return fAscent; in getAscent()
1184 if (fAscent <= 0) { in getDescent()
[all …]
/external/icu/icu4c/source/layoutex/layout/
DParagraphLayout.h171 le_int32 fAscent; variable
620 le_int32 fAscent; 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/gm/
Dscaledemoji.cpp78 y += -metrics.fAscent; in onDraw()
126 y += -metrics.fAscent; in onDraw()
197 y += -metrics.fAscent; in onDraw()
/external/skqp/modules/skshaper/src/
DSkShaper_primitive.cpp53 point.fY -= metrics.fAscent; in shape()
58 metrics.fAscent, in shape()
/external/skia/modules/skottie/src/
DSkottieProperty.cpp24 && fAscent == other.fAscent in operator ==()

1234