diff --git a/common/gal/cairo/cairo_print.cpp b/common/gal/cairo/cairo_print.cpp index 9b6ebe2c24..8b8b082576 100644 --- a/common/gal/cairo/cairo_print.cpp +++ b/common/gal/cairo/cairo_print.cpp @@ -141,14 +141,6 @@ CAIRO_PRINT_GAL::CAIRO_PRINT_GAL( GAL_DISPLAY_OPTIONS& aDisplayOptions, } -void CAIRO_PRINT_GAL::SetLineWidth( float aLineWidth ) -{ - storePath(); - lineWidth = aLineWidth; - cairo_set_line_width( currentContext, aLineWidth ); -} - - void CAIRO_PRINT_GAL::ComputeWorldScreenMatrix() { worldScale = screenDPI * worldUnitLength * zoomFactor; diff --git a/include/gal/cairo/cairo_gal.h b/include/gal/cairo/cairo_gal.h index 5bef086d40..7f44aeac50 100644 --- a/include/gal/cairo/cairo_gal.h +++ b/include/gal/cairo/cairo_gal.h @@ -292,7 +292,6 @@ protected: unsigned int groupCounter; ///< Counter used for generating keys for groups GROUP* currentGroup; ///< Currently used group - double lineWidth; double linePixelWidth; double lineWidthInPixels; bool lineWidthIsOdd; diff --git a/include/gal/cairo/cairo_print.h b/include/gal/cairo/cairo_print.h index 85ead9386b..9c363a81de 100644 --- a/include/gal/cairo/cairo_print.h +++ b/include/gal/cairo/cairo_print.h @@ -82,8 +82,6 @@ public: CAIRO_PRINT_GAL( GAL_DISPLAY_OPTIONS& aDisplayOptions, std::unique_ptr aContext ); - void SetLineWidth( float aLineWidth ) override; - void ComputeWorldScreenMatrix() override; GAL* GetGAL() override