@@ -27,13 +27,13 @@ static void ofEndSaveScreen(){
2727
2828}
2929
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){
3131 if ( bScreenShotStarted ) ofEndSaveScreen ();
3232
3333 storedRenderer = ofGetCurrentRenderer ();
3434
3535 cairoScreenshot = std::make_unique<ofCairoRenderer>();
36- cairoScreenshot->setup (filename , type, bMultipage, b3D, outputsize);
36+ cairoScreenshot->setup (fileName , type, bMultipage, b3D, outputsize);
3737
3838 rendererCollection = std::make_shared<ofRendererCollection>();
3939 rendererCollection->renderers .push_back (storedRenderer);
@@ -45,8 +45,8 @@ static void ofBeginSaveScreen(const of::filesystem::path & filename, ofCairoRend
4545}
4646
4747// -----------------------------------------------------------------------------------
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);
5050}
5151
5252// -----------------------------------------------------------------------------------
@@ -55,8 +55,8 @@ void ofEndSaveScreenAsPDF(){
5555}
5656
5757// -----------------------------------------------------------------------------------
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);
6060}
6161
6262// -----------------------------------------------------------------------------------
0 commit comments