Lines Matching refs:skjson
102 bool parse_glyph_path(const skjson::ObjectValue* jdata,
127 const skjson::ArrayValue* jshapes = (*jdata)["shapes"];
133 for (const skjson::ObjectValue* jgrp : *jshapes) {
138 const skjson::ArrayValue* jit = (*jgrp)["it"];
143 for (const skjson::ObjectValue* jshape : *jit) {
174 void AnimationBuilder::parseFonts(const skjson::ObjectValue* jfonts,
175 const skjson::ArrayValue* jchars) {}
177 sk_sp<sksg::RenderNode> AnimationBuilder::attachTextLayer(const skjson::ObjectValue& jlayer,
182 void AnimationBuilder::parseFonts(const skjson::ObjectValue* jfonts,
183 const skjson::ArrayValue* jchars) {
200 const skjson::ArrayValue* jlist = jfonts
201 ? static_cast<const skjson::ArrayValue*>((*jfonts)["list"])
208 for (const skjson::ObjectValue* jfont : *jlist) {
213 const skjson::StringValue* jname = (*jfont)["fName"];
214 const skjson::StringValue* jfamily = (*jfont)["fFamily"];
215 const skjson::StringValue* jstyle = (*jfont)["fStyle"];
216 const skjson::StringValue* jpath = (*jfont)["fPath"];
299 bool AnimationBuilder::resolveEmbeddedTypefaces(const skjson::ArrayValue& jchars) {
315 for (const skjson::ObjectValue* jchar : jchars) {
320 const skjson::StringValue* jch = (*jchar)["ch"];
325 const skjson::StringValue* jfamily = (*jchar)["fFamily"];
326 const skjson::StringValue* jstyle = (*jchar)["style"]; // "style", not "fStyle"...
400 sk_sp<sksg::RenderNode> AnimationBuilder::attachTextLayer(const skjson::ObjectValue& jlayer,