MCPcopy Create free account
hub / github.com/Samsung/rlottie / jsonFile

Method jsonFile

example/lottie2gif.cpp:142–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140 }
141
142 bool jsonFile() {
143 std::string extn = ".json";
144 if ( fileName.size() <= extn.size() ||
145 fileName.substr(fileName.size()- extn.size()) != extn )
146 return false;
147
148 return true;
149 }
150
151 int result() {
152 std::cout<<"Generated GIF file : "<<gifName<<std::endl;

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected