|
|
@ -2,7 +2,7 @@ |
|
|
|
* This program source code file is part of KICAD, a free EDA CAD application. |
|
|
|
* |
|
|
|
* Copyright (C) 2012 Torsten Hueter, torstenhtr <at> gmx.de |
|
|
|
* Copyright (C) 2012-2019 Kicad Developers, see AUTHORS.txt for contributors. |
|
|
|
* Copyright (C) 2012-2020 Kicad Developers, see AUTHORS.txt for contributors. |
|
|
|
* Copyright (C) 2017-2018 CERN |
|
|
|
* @author Maciej Suminski <maciej.suminski@cern.ch> |
|
|
|
* |
|
|
@ -67,6 +67,10 @@ CAIRO_GAL_BASE::CAIRO_GAL_BASE( GAL_DISPLAY_OPTIONS& aDisplayOptions ) : |
|
|
|
// Grid color settings are different in Cairo and OpenGL
|
|
|
|
SetGridColor( COLOR4D( 0.1, 0.1, 0.1, 0.8 ) ); |
|
|
|
SetAxesColor( COLOR4D( BLUE ) ); |
|
|
|
|
|
|
|
// Avoid unitialized variables:
|
|
|
|
cairo_matrix_init_identity( ¤tXform ); |
|
|
|
cairo_matrix_init_identity( ¤tWorld2Screen ); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|