Searched refs:jshape (Results 1 – 4 of 4) sorted by relevance
53 if (const auto* jshape = shape_root(jv)) { in parse_encoding_len() local54 if (const skjson::ArrayValue* jvs = (*jshape)["v"]) { in parse_encoding_len()63 const auto* jshape = shape_root(jv); in parse_encoding_data() local64 if (!jshape) { in parse_encoding_data()69 const skjson::ArrayValue* jvs = (*jshape)["v"]; // vertex points in parse_encoding_data()70 const skjson::ArrayValue* jis = (*jshape)["i"]; // in-tangent points in parse_encoding_data()71 const skjson::ArrayValue* jos = (*jshape)["o"]; // out-tangent points in parse_encoding_data()111 data[data_len - 1] = ParseDefault<bool>((*jshape)["c"], false); in parse_encoding_data()
102 const ShapeInfo* FindShapeInfo(const skjson::ObjectValue& jshape) { in FindShapeInfo() argument122 const skjson::StringValue* type = jshape["ty"]; in FindShapeInfo()164 sk_sp<sksg::RenderNode> AnimationBuilder::attachShape(const skjson::ArrayValue* jshape, in attachShape() argument167 if (!jshape) in attachShape()187 for (size_t i = 0; i < jshape->size(); ++i) { in attachShape()188 const skjson::ObjectValue* shape = (*jshape)[jshape->size() - 1 - i]; in attachShape()
469 const ShapeInfo* FindShapeInfo(const skjson::ObjectValue& jshape) { in FindShapeInfo() argument487 const skjson::StringValue* type = jshape["ty"]; in FindShapeInfo()524 sk_sp<sksg::RenderNode> AnimationBuilder::attachShape(const skjson::ArrayValue* jshape, in attachShape() argument526 if (!jshape) in attachShape()545 for (size_t i = 0; i < jshape->size(); ++i) { in attachShape()546 const skjson::ObjectValue* shape = (*jshape)[jshape->size() - 1 - i]; in attachShape()
143 for (const skjson::ObjectValue* jshape : *jit) { in parse_glyph_path()144 if (!jshape) { in parse_glyph_path()151 auto path_node = abuilder->attachPath((*jshape)["ks"]); in parse_glyph_path()