Home
last modified time | relevance | path

Searched refs:fBox (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/skia/modules/skottie/src/text/
DSkottieShaper.cpp54 , fBox(box) in BlobMaker()
99 SkVector alignmentOffset { fHAlignFactor * (fPendingLineAdvance.x() - fBox.width()), 0 }; in runBuffer()
142 fResult.fFragments.push_back({fBuilder.make(), {fBox.x(), fBox.y()}, 0, false}); in finalize()
164 const auto typographical_top = fBox.fTop + ascent, in finalize()
165 typographical_bottom = fBox.fTop + fLastLineDescent + fDesc.fLineHeight * in finalize()
187 v_offset = fBox.fTop - extent_box().fTop; in finalize()
191 v_offset = fBox.centerY() - ebox.centerY(); in finalize()
197 v_offset = fBox.fBottom - extent_box().fBottom; in finalize()
228 const auto shape_width = fBox.isEmpty() ? SK_ScalarMax in shapeLine()
229 : fBox.width(); in shapeLine()
[all …]
DTextValue.cpp56 v->fBox.setWH(ParseDefault<SkScalar>((*jsz)[0], 0), in FromJSON()
64 v->fBox.offset(ParseDefault<SkScalar>((*jps)[0], 0), in FromJSON()
70 v->fVAlign = v->fBox.isEmpty() ? Shaper::VAlign::kTopBaseline in FromJSON()
DTextAdapter.cpp135 const auto shape_result = Shaper::Shape(fText.fText, text_desc, fText.fBox, fFontMgr); in apply()
175 fRoot->addChild(sksg::Draw::Make(sksg::Rect::Make(fText.fBox), in apply()
/third_party/skia/modules/skottie/src/text/
DSkottieShaper.cpp55 , fBox(box) in BlobMaker()
101 SkVector alignmentOffset { fHAlignFactor * (fPendingLineAdvance.x() - fBox.width()), 0 }; in runBuffer()
144 fResult.fFragments.push_back({fBuilder.make(), {fBox.x(), fBox.y()}, 0, 0, 0, false}); in finalize()
164 const auto typographical_top = fBox.fTop + ascent, in finalize()
165 typographical_bottom = fBox.fTop + fLastLineDescent + fDesc.fLineHeight * in finalize()
189 v_offset += fBox.fTop - ebox->fTop; in finalize()
193 v_offset += fBox.centerY() - ebox->centerY(); in finalize()
197 v_offset += fBox.fBottom - ebox->fBottom; in finalize()
234 const auto max_offset = fBox.height() + this->ascent(); // NB: ascent is negative in shapeLine()
242 : fBox.width(); in shapeLine()
[all …]
DTextValue.cpp54 v->fBox.setWH(ParseDefault<SkScalar>((*jsz)[0], 0), in Parse()
62 v->fBox.offset(ParseDefault<SkScalar>((*jps)[0], 0), in Parse()
82 v->fLineBreak = v->fBox.isEmpty() in Parse()
105 v->fVAlign = v->fBox.isEmpty() ? Shaper::VAlign::kTopBaseline in Parse()
DTextAdapter.cpp468 const auto shape_result = Shaper::Shape(fText->fText, text_desc, fText->fBox, fFontMgr); in reshape()
515 fRoot->addChild(sksg::Draw::Make(sksg::Rect::Make(fText->fBox), in reshape()
660 return fText->fBox; in fragmentAnchorPoint()
689 align_factor(fText->fHAlign)*(fPathInfo->pathLength() - fText->fBox.width()); in fragmentMatrix()
700 const auto rel_pos = SkV2{pos.x, pos.y} - SkV2{fText->fBox.fLeft, fText->fBox.fTop}; in fragmentMatrix()
/third_party/flutter/skia/modules/skottie/src/
DSkottieProperty.cpp25 && fBox == other.fBox in operator ==()
/third_party/skia/modules/skottie/src/
DSkottieProperty.cpp31 && fBox == other.fBox in operator ==()
/third_party/flutter/skia/modules/skottie/include/
DSkottieProperty.h43 SkRect fBox = SkRect::MakeEmpty();
/third_party/skia/modules/skottie/include/
DSkottieProperty.h55 SkRect fBox = SkRect::MakeEmpty();