MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / temp_png_path

Function temp_png_path

tests/EffectMask.cpp:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33using namespace openshot;
34
35static std::string temp_png_path(const std::string& base) {
36 std::stringstream path;
37 path << QDir::tempPath().toStdString() << "/libopenshot_" << base << "_"
38 << getpid() << "_" << rand() << ".png";
39 return path.str();
40}
41
42static std::string create_source_png(int w, int h, const QColor& color) {
43 const std::string path = temp_png_path("source");

Callers 3

create_source_pngFunction · 0.70
create_mask_pngFunction · 0.70
create_uniform_mask_pngFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected