Home
last modified time | relevance | path

Searched refs:shape_result (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/modules/skottie/src/
DSkottieTest.cpp435 const auto shape_result = skottie::Shaper::Shape(text, desc, text_point, in DEF_TEST() local
437 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
438 REPORTER_ASSERT(reporter, shape_result.fFragments[0].fBlob); in DEF_TEST()
440 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST()
500 const auto shape_result = skottie::Shaper::Shape(text, desc, text_box, in DEF_TEST() local
502 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
503 REPORTER_ASSERT(reporter, shape_result.fFragments[0].fBlob); in DEF_TEST()
505 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST()
540 const auto shape_result = skottie::Shaper::Shape(text, desc, text_box, in DEF_TEST() local
543 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
[all …]
/third_party/skia/modules/skottie/src/
DSkottieTest.cpp486 const auto shape_result = Shaper::Shape(text, desc, text_point, in DEF_TEST() local
488 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
489 REPORTER_ASSERT(reporter, shape_result.fFragments[0].fBlob); in DEF_TEST()
491 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST()
557 const auto shape_result = Shaper::Shape(text, desc, text_box, SkFontMgr::RefDefault()); in DEF_TEST() local
558 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
559 REPORTER_ASSERT(reporter, shape_result.fFragments[0].fBlob); in DEF_TEST()
561 const auto shape_bounds = ComputeShapeResultBounds(shape_result); in DEF_TEST()
602 const auto shape_result = Shaper::Shape(text, desc, text_box, SkFontMgr::RefDefault()); in DEF_TEST() local
604 REPORTER_ASSERT(reporter, shape_result.fFragments.size() == 1ul); in DEF_TEST()
[all …]
/third_party/flutter/skia/modules/skottie/src/text/
DTextAdapter.cpp75 void TextAdapter::buildDomainMaps(const Shaper::Result& shape_result) { in buildDomainMaps() argument
87 for (; i < shape_result.fFragments.size(); ++i) { in buildDomainMaps()
88 const auto& frag = shape_result.fFragments[i]; in buildDomainMaps()
135 const auto shape_result = Shaper::Shape(fText.fText, text_desc, fText.fBox, fFontMgr); in apply() local
137 if (fLogger && shape_result.fMissingGlyphCount > 0) { in apply()
139 shape_result.fMissingGlyphCount, in apply()
154 for (const auto& frag : shape_result.fFragments) { in apply()
160 this->buildDomainMaps(shape_result); in apply()
177 fRoot->addChild(sksg::Draw::Make(sksg::Rect::Make(shape_result.computeBounds()), in apply()
/third_party/skia/modules/skottie/src/text/
DTextAdapter.cpp375 void TextAdapter::buildDomainMaps(const Shaper::Result& shape_result) { in buildDomainMaps() argument
393 for (; i < shape_result.fFragments.size(); ++i) { in buildDomainMaps()
394 const auto& frag = shape_result.fFragments[i]; in buildDomainMaps()
468 const auto shape_result = Shaper::Shape(fText->fText, text_desc, fText->fBox, fFontMgr); in reshape() local
471 if (shape_result.fFragments.empty() && fText->fText.size() > 0) { in reshape()
477 if (shape_result.fMissingGlyphCount > 0) { in reshape()
479 shape_result.fMissingGlyphCount, in reshape()
495 for (const auto& frag : shape_result.fFragments) { in reshape()
501 this->buildDomainMaps(shape_result); in reshape()
517 fRoot->addChild(sksg::Draw::Make(sksg::Rect::Make(shape_result.computeVisualBounds()), in reshape()