Lines Matching refs:skjson
20 bool ValueTraits<ScalarValue>::FromJSON(const skjson::Value& jv, const internal::AnimationBuilder*, in FromJSON()
44 bool ValueTraits<VectorValue>::FromJSON(const skjson::Value& jv, const internal::AnimationBuilder*, in FromJSON()
99 bool ParsePointVec(const skjson::Value& jv, std::vector<SkPoint>* pts) { in ParsePointVec()
100 if (!jv.is<skjson::ArrayValue>()) in ParsePointVec()
102 const auto& av = jv.as<skjson::ArrayValue>(); in ParsePointVec()
120 bool ValueTraits<ShapeValue>::FromJSON(const skjson::Value& jv, in FromJSON()
126 if (const skjson::ArrayValue* av = jv) { in FromJSON()
132 if (!jv.is<skjson::ObjectValue>()) in FromJSON()
134 const auto& ov = jv.as<skjson::ObjectValue>(); in FromJSON()
248 bool ValueTraits<TextValue>::FromJSON(const skjson::Value& jv, in FromJSON()
251 const skjson::ObjectValue* jtxt = jv; in FromJSON()
256 const skjson::StringValue* font_name = (*jtxt)["f"]; in FromJSON()
257 const skjson::StringValue* text = (*jtxt)["t"]; in FromJSON()
258 const skjson::NumberValue* text_size = (*jtxt)["s"]; in FromJSON()
274 const auto& parse_color = [] (const skjson::ArrayValue* jcolor, in FromJSON()