Lines Matching refs:skjson
42 void AnimationBuilder::log(Logger::Level lvl, const skjson::Value* json, in log()
64 sk_sp<sksg::Transform> AnimationBuilder::attachMatrix2D(const skjson::ObjectValue& t, in attachMatrix2D()
87 if (jrotation->is<skjson::NullValue>()) { in attachMatrix2D()
112 sk_sp<sksg::Transform> AnimationBuilder::attachMatrix3D(const skjson::ObjectValue& t, in attachMatrix3D()
166 sk_sp<sksg::RenderNode> AnimationBuilder::attachOpacity(const skjson::ObjectValue& jtransform, in attachOpacity()
185 sk_sp<sksg::Path> AnimationBuilder::attachPath(const skjson::Value& jpath, in attachPath()
199 sk_sp<sksg::Color> AnimationBuilder::attachColor(const skjson::ObjectValue& jcolor, in attachColor()
227 std::unique_ptr<sksg::Scene> AnimationBuilder::parse(const skjson::ObjectValue& jroot) { in parse()
241 void AnimationBuilder::parseAssets(const skjson::ArrayValue* jassets) { in parseAssets()
246 for (const skjson::ObjectValue* asset : *jassets) { in parseAssets()
253 void AnimationBuilder::dispatchMarkers(const skjson::ArrayValue* jmarkers) const { in dispatchMarkers()
261 for (const skjson::ObjectValue* m : *jmarkers) { in dispatchMarkers()
264 const skjson::StringValue* name = (*m)["cm"]; in dispatchMarkers()
325 const skjson::ObjectValue& obj) { in updateContext()
327 const skjson::StringValue* name = obj["nm"]; in updateContext()
411 const skjson::DOM dom(data, data_len); in make()
412 if (!dom.root().is<skjson::ObjectValue>()) { in make()
419 const auto& json = dom.root().as<skjson::ObjectValue>(); in make()