Searched refs:jstyle (Results 1 – 5 of 5) sorted by relevance
/third_party/skia/modules/skottie/src/effects/ |
D | ShadowStyles.cpp | 31 ShadowAdapter(const skjson::ObjectValue& jstyle, in ShadowAdapter() argument 35 this->bind(abuilder, jstyle["c"], fColor); in ShadowAdapter() 36 this->bind(abuilder, jstyle["o"], fOpacity); in ShadowAdapter() 37 this->bind(abuilder, jstyle["a"], fAngle); in ShadowAdapter() 38 this->bind(abuilder, jstyle["s"], fSize); in ShadowAdapter() 39 this->bind(abuilder, jstyle["d"], fDistance); in ShadowAdapter() 116 static sk_sp<sksg::RenderNode> make_shadow_effect(const skjson::ObjectValue& jstyle, in make_shadow_effect() argument 120 auto filter_node = abuilder.attachDiscardableAdapter<ShadowAdapter>(jstyle, abuilder, type); in make_shadow_effect() 127 sk_sp<sksg::RenderNode> EffectBuilder::attachDropShadowStyle(const skjson::ObjectValue& jstyle, in attachDropShadowStyle() argument 129 return make_shadow_effect(jstyle, *fBuilder, std::move(layer), in attachDropShadowStyle() [all …]
|
D | GlowStyles.cpp | 32 GlowAdapter(const skjson::ObjectValue& jstyle, const AnimationBuilder& abuilder, Type type) in GlowAdapter() argument 34 this->bind(abuilder, jstyle["c" ], fColor); in GlowAdapter() 35 this->bind(abuilder, jstyle["o" ], fOpacity); in GlowAdapter() 36 this->bind(abuilder, jstyle["s" ], fSize); in GlowAdapter() 37 this->bind(abuilder, jstyle["sr"], fInnerSource); in GlowAdapter() 38 this->bind(abuilder, jstyle["ch"], fChoke); in GlowAdapter() 142 static sk_sp<sksg::RenderNode> make_glow_effect(const skjson::ObjectValue& jstyle, in make_glow_effect() argument 146 auto filter_node = abuilder.attachDiscardableAdapter<GlowAdapter>(jstyle, abuilder, type); in make_glow_effect() 153 sk_sp<sksg::RenderNode> EffectBuilder::attachOuterGlowStyle(const skjson::ObjectValue& jstyle, in attachOuterGlowStyle() argument 155 return make_glow_effect(jstyle, *fBuilder, std::move(layer), GlowAdapter::Type::kOuterGlow); in attachOuterGlowStyle() [all …]
|
D | Effects.cpp | 152 for (const skjson::ObjectValue* jstyle : jstyles) { in attachStyles() local 153 if (!jstyle) { in attachStyles() 158 ParseDefault<size_t>((*jstyle)["ty"], std::numeric_limits<size_t>::max()); in attachStyles() 163 fBuilder->log(Logger::Level::kWarning, jstyle, "Unsupported layer style."); in attachStyles() 167 layer = (this->*builder)(*jstyle, std::move(layer)); in attachStyles()
|
/third_party/flutter/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 130 const skjson::StringValue* jstyle = (*jfont)["fStyle"]; in parseFonts() local 135 !jstyle || !jstyle->size()) { in parseFonts() 154 FontStyle(this, jstyle->begin()))); in parseFonts() 160 jfamily->begin(), jstyle->begin()); in parseFonts() 162 tf = fmgr->legacyMakeTypeface(nullptr, FontStyle(this, jstyle->begin())); in parseFonts() 171 SkString(jstyle->begin(), jstyle->size()), in parseFonts() 206 const skjson::StringValue* jstyle = (*jchar)["style"]; // "style", not "fStyle"... in parseFonts() local 211 if (!jfamily || !jstyle || (SkUTF::CountUTF8(ch_ptr, ch_len) != 1)) { in parseFonts() 220 const auto* style = jstyle->begin(); in parseFonts()
|
/third_party/skia/modules/skottie/src/layers/ |
D | TextLayer.cpp | 215 const skjson::StringValue* jstyle = (*jfont)["fStyle"]; in parseFonts() local 220 !jstyle) { in parseFonts() 228 SkString( jstyle->begin(), jstyle->size()), in parseFonts() 326 const skjson::StringValue* jstyle = (*jchar)["style"]; // "style", not "fStyle"... in resolveEmbeddedTypefaces() local 331 if (!jfamily || !jstyle || (SkUTF::CountUTF8(ch_ptr, ch_len) != 1)) { in resolveEmbeddedTypefaces() 347 const auto* style = jstyle->begin(); in resolveEmbeddedTypefaces()
|