MCPcopy Create free account
hub / github.com/Tencent/libpag / MakeImageCodec

Function MakeImageCodec

test/src/utils/TestUtils.cpp:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111std::shared_ptr<tgfx::ImageCodec> MakeImageCodec(const std::string& path) {
112 return ImageCodec::MakeFrom(ProjectPath::Absolute(path));
113}
114
115std::shared_ptr<tgfx::Image> MakeImage(const std::string& path) {
116 return Image::MakeFromFile(ProjectPath::Absolute(path));

Callers 1

PAG_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected