Home
last modified time | relevance | path

Searched refs:Shaper (Results 1 – 15 of 15) sorted by relevance

/external/skia/modules/skottie/src/text/
DTextValue.cpp67 static constexpr Shaper::ResizePolicy gResizeMap[] = { in Parse()
68 Shaper::ResizePolicy::kNone, // 'rs': 0 in Parse()
69 Shaper::ResizePolicy::kScaleToFit, // 'rs': 1 in Parse()
70 Shaper::ResizePolicy::kDownscaleToFit, // 'rs': 2 in Parse()
83 ? Shaper::LinebreakPolicy::kExplicit in Parse()
84 : Shaper::LinebreakPolicy::kParagraph; in Parse()
92 ? Shaper::LinebreakPolicy::kExplicit // 'm': 0 -> point text in Parse()
93 : Shaper::LinebreakPolicy::kParagraph; // 'm': 1 -> paragraph text in Parse()
97 v->fVAlign = v->fBox.isEmpty() ? Shaper::VAlign::kTopBaseline in Parse()
98 : Shaper::VAlign::kTop; in Parse()
[all …]
DSkottieShaper.cpp54 BlobMaker(const Shaper::TextDesc& desc, const SkRect& box, const sk_sp<SkFontMgr>& fontmgr) in BlobMaker()
122 const auto commit_proc = (fDesc.fFlags & Shaper::Flags::kFragmentGlyphs) in commitLine()
140 Shaper::Result finalize(SkSize* shaped_size) { in finalize()
141 if (!(fDesc.fFlags & Shaper::Flags::kFragmentGlyphs)) { in finalize()
182 case Shaper::VAlign::kTop: in finalize()
185 case Shaper::VAlign::kTopBaseline: in finalize()
188 case Shaper::VAlign::kVisualTop: in finalize()
192 case Shaper::VAlign::kVisualCenter: in finalize()
196 case Shaper::VAlign::kVisualBottom: in finalize()
233 if (fDesc.fVAlign == Shaper::VAlign::kTop) { in shapeLine()
[all …]
DSkottieShaper.h23 class Shaper final {
128 Shaper() = delete;
DTextAdapter.cpp119 void TextAdapter::addFragment(const Shaper::Fragment& frag) { in addFragment()
193 void TextAdapter::buildDomainMaps(const Shaper::Result& shape_result) { in buildDomainMaps()
259 uint32_t flags = Shaper::Flags::kNone; in shaperFlags()
262 if (!fAnimators.empty() ) flags |= Shaper::Flags::kFragmentGlyphs; in shaperFlags()
263 if (fRequiresAnchorPoint) flags |= Shaper::Flags::kTrackFragmentAdvanceAscent; in shaperFlags()
269 const Shaper::TextDesc text_desc = { in reshape()
284 const auto shape_result = Shaper::Shape(fText->fText, text_desc, fText->fBox, fFontMgr); in reshape()
DTextAdapter.h68 void addFragment(const Shaper::Fragment&);
69 void buildDomainMaps(const Shaper::Result&);
/external/skia/modules/skottie/src/
DSkottieTest.cpp322 Shaper::VAlign::kTopBaseline, in DEF_TEST()
323 Shaper::ResizePolicy::kNone, in DEF_TEST()
324 Shaper::LinebreakPolicy::kExplicit, in DEF_TEST()
325 Shaper::Direction::kLTR, in DEF_TEST()
426 static SkRect ComputeShapeResultBounds(const skottie::Shaper::Result& res) { in ComputeShapeResultBounds()
468 const skottie::Shaper::TextDesc desc = { in DEF_TEST()
476 Shaper::VAlign::kTopBaseline, in DEF_TEST()
477 Shaper::ResizePolicy::kNone, in DEF_TEST()
478 Shaper::LinebreakPolicy::kExplicit, in DEF_TEST()
479 Shaper::Direction::kLTR, in DEF_TEST()
[all …]
/external/skia/modules/skottie/include/
DSkottieProperty.h50 Shaper::VAlign fVAlign = Shaper::VAlign::kTop;
51 Shaper::ResizePolicy fResize = Shaper::ResizePolicy::kNone;
52 Shaper::LinebreakPolicy fLineBreak = Shaper::LinebreakPolicy::kExplicit;
53 Shaper::Direction fDirection = Shaper::Direction::kLTR;
/external/skia/experimental/sktext/src/
DShaper.cpp11 bool Shaper::process() { in process()
39 void Shaper::commitRunBuffer(const RunInfo&) { in commitRunBuffer()
44 SkFont Shaper::createFont(const FontBlock& block) { in createFont()
56 sk_sp<SkTypeface> Shaper::matchTypeface(const SkString& fontFamily, SkFontStyle fontStyle) { in matchTypeface()
DShaper.h12 class Shaper : public SkShaper::RunHandler{
14 Shaper(Processor* processor, TextFontStyle textFontStyle) in Shaper() function
DProcessor.cpp22 Shaper shaper(this, fontStyle); in shape()
/external/harfbuzz_ng/src/
Dhb-shaper.hh56 #define HB_SHAPER_ORDER(Shaper) \ argument
57 HB_PASTE (HB_SHAPER_ORDER_, Shaper)
61 #define HB_SHAPER_IMPLEMENT(Shaper) \ argument
62 HB_SHAPER_ORDER (Shaper),
/external/skia/experimental/sktext/
Dsktext.gni17 "$_src/Shaper.cpp",
/external/pdfium/third_party/lcms/src/
Dcmsps2.c947 …t WriteInputMatrixShaper(cmsIOHANDLER* m, cmsHPROFILE hProfile, cmsStage* Matrix, cmsStage* Shaper) in WriteInputMatrixShaper() argument
959 cmsToneCurve** ShaperCurve = _cmsStageGetPtrToCurveSet(Shaper); in WriteInputMatrixShaper()
976 _cmsStageGetPtrToCurveSet(Shaper), in WriteInputMatrixShaper()
1051 cmsStage* Matrix, *Shaper; in GenerateCSA() local
1080 …neCheckAndRetreiveStages(lut, 2, cmsSigCurveSetElemType, cmsSigMatrixElemType, &Shaper, &Matrix)) { in GenerateCSA()
1082 if (!WriteInputMatrixShaper(mem, hProfile, Matrix, Shaper)) goto Error; in GenerateCSA()
/external/iproute2/examples/
DREADME.cbq43 # | | |______ Shaper name - any word
71 # RATE: Shaper's speed - Kbit,Mbit or bps (bytes per second)
/external/skia/experimental/sktext/include/
DProcessor.h181 friend class Shaper; variable