@@ -27,7 +27,7 @@ static void ofEndSaveScreen(){
27
27
28
28
}
29
29
30
- static void ofBeginSaveScreen (std::string filename, ofCairoRenderer::Type type, bool bMultipage, bool b3D, ofRectangle outputsize){
30
+ static void ofBeginSaveScreen (const of::filesystem::path & filename, ofCairoRenderer::Type type, bool bMultipage, bool b3D, ofRectangle outputsize){
31
31
if ( bScreenShotStarted ) ofEndSaveScreen ();
32
32
33
33
storedRenderer = ofGetCurrentRenderer ();
@@ -45,7 +45,7 @@ static void ofBeginSaveScreen(std::string filename, ofCairoRenderer::Type type,
45
45
}
46
46
47
47
// -----------------------------------------------------------------------------------
48
- void ofBeginSaveScreenAsPDF (std::string filename, bool bMultipage, bool b3D, ofRectangle outputsize){
48
+ void ofBeginSaveScreenAsPDF (const of::filesystem::path & filename, bool bMultipage, bool b3D, ofRectangle outputsize){
49
49
ofBeginSaveScreen (filename, ofCairoRenderer::PDF, bMultipage, b3D, outputsize);
50
50
}
51
51
@@ -55,7 +55,7 @@ void ofEndSaveScreenAsPDF(){
55
55
}
56
56
57
57
// -----------------------------------------------------------------------------------
58
- void ofBeginSaveScreenAsSVG (std::string filename, bool bMultipage, bool b3D, ofRectangle outputsize){
58
+ void ofBeginSaveScreenAsSVG (const of::filesystem::path & filename, bool bMultipage, bool b3D, ofRectangle outputsize){
59
59
ofBeginSaveScreen (filename, ofCairoRenderer::SVG, bMultipage, b3D, outputsize);
60
60
}
61
61
0 commit comments