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

Function MakeImageCodec

test/src/utils/TestUtils.cpp:95–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95std::shared_ptr<ImageCodec> MakeImageCodec(const std::string& path) {
96 return ImageCodec::MakeFrom(ProjectPath::Absolute(path));
97}
98
99std::shared_ptr<ImageCodec> MakeNativeCodec(const std::string& path) {
100 return ImageCodec::MakeNativeCodec(ProjectPath::Absolute(path));

Callers 2

TGFX_TESTFunction · 0.85
TGFX_TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected