@@ -27,13 +27,13 @@ static void ofEndSaveScreen(){
27
27
28
28
}
29
29
30
- static void ofBeginSaveScreen (const of::filesystem::path & 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 ();
34
34
35
35
cairoScreenshot = std::make_unique<ofCairoRenderer>();
36
- cairoScreenshot->setup (filename , type, bMultipage, b3D, outputsize);
36
+ cairoScreenshot->setup (fileName , type, bMultipage, b3D, outputsize);
37
37
38
38
rendererCollection = std::make_shared<ofRendererCollection>();
39
39
rendererCollection->renderers .push_back (storedRenderer);
@@ -45,8 +45,8 @@ static void ofBeginSaveScreen(const of::filesystem::path & filename, ofCairoRend
45
45
}
46
46
47
47
// -----------------------------------------------------------------------------------
48
- void ofBeginSaveScreenAsPDF (const of::filesystem::path & filename , bool bMultipage, bool b3D, ofRectangle outputsize){
49
- ofBeginSaveScreen (filename , ofCairoRenderer::PDF, bMultipage, b3D, outputsize);
48
+ void ofBeginSaveScreenAsPDF (const of::filesystem::path & fileName , bool bMultipage, bool b3D, ofRectangle outputsize){
49
+ ofBeginSaveScreen (fileName , ofCairoRenderer::PDF, bMultipage, b3D, outputsize);
50
50
}
51
51
52
52
// -----------------------------------------------------------------------------------
@@ -55,8 +55,8 @@ void ofEndSaveScreenAsPDF(){
55
55
}
56
56
57
57
// -----------------------------------------------------------------------------------
58
- void ofBeginSaveScreenAsSVG (const of::filesystem::path & filename , bool bMultipage, bool b3D, ofRectangle outputsize){
59
- ofBeginSaveScreen (filename , ofCairoRenderer::SVG, bMultipage, b3D, outputsize);
58
+ void ofBeginSaveScreenAsSVG (const of::filesystem::path & fileName , bool bMultipage, bool b3D, ofRectangle outputsize){
59
+ ofBeginSaveScreen (fileName , ofCairoRenderer::SVG, bMultipage, b3D, outputsize);
60
60
}
61
61
62
62
// -----------------------------------------------------------------------------------
0 commit comments