| 33 | using namespace openshot; |
| 34 | |
| 35 | static 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 | |
| 42 | static std::string create_source_png(int w, int h, const QColor& color) { |
| 43 | const std::string path = temp_png_path("source"); |
no outgoing calls
no test coverage detected