Loading common/gal/cairo/cairo_gal.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,10 @@ using namespace KIGFX; const float CAIRO_GAL::LAYER_ALPHA = 0.8; CAIRO_GAL::CAIRO_GAL( wxWindow* aParent, wxEvtHandler* aMouseListener, wxEvtHandler* aPaintListener, const wxString& aName ) : wxWindow( aParent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxEXPAND, aName ) Loading common/gal/graphics_abstraction_layer.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,10 @@ using namespace KIGFX; const double GAL::METRIC_UNIT_LENGTH = 1e9; GAL::GAL() : strokeFont( this ) { Loading common/view/view.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -893,7 +893,7 @@ void VIEW::updateItemGeometry( VIEW_ITEM* aItem, int aLayer ) group = m_gal->BeginGroup(); aItem->setGroup( aLayer, group ); if( !m_painter->Draw( static_cast<EDA_ITEM*>( aItem ), aLayer ) ); if( !m_painter->Draw( static_cast<EDA_ITEM*>( aItem ), aLayer ) ) aItem->ViewDraw( aLayer, m_gal ); // Alternative drawing method m_gal->EndGroup(); Loading include/gal/cairo/cairo_gal.h +1 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,7 @@ private: static const cairo_format_t GAL_FORMAT = CAIRO_FORMAT_RGB24; ///> Opacity of a single layer static const float LAYER_ALPHA = 0.8; static const float LAYER_ALPHA; }; } // namespace KIGFX Loading include/gal/graphics_abstraction_layer.h +1 −1 Original line number Diff line number Diff line Loading @@ -820,7 +820,7 @@ public: /// Depth level on which the grid is drawn static const int GRID_DEPTH = 1024; static const double METRIC_UNIT_LENGTH = 1e9; static const double METRIC_UNIT_LENGTH; protected: std::stack<double> depthStack; ///< Stored depth values Loading Loading
common/gal/cairo/cairo_gal.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,10 @@ using namespace KIGFX; const float CAIRO_GAL::LAYER_ALPHA = 0.8; CAIRO_GAL::CAIRO_GAL( wxWindow* aParent, wxEvtHandler* aMouseListener, wxEvtHandler* aPaintListener, const wxString& aName ) : wxWindow( aParent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxEXPAND, aName ) Loading
common/gal/graphics_abstraction_layer.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -31,6 +31,10 @@ using namespace KIGFX; const double GAL::METRIC_UNIT_LENGTH = 1e9; GAL::GAL() : strokeFont( this ) { Loading
common/view/view.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -893,7 +893,7 @@ void VIEW::updateItemGeometry( VIEW_ITEM* aItem, int aLayer ) group = m_gal->BeginGroup(); aItem->setGroup( aLayer, group ); if( !m_painter->Draw( static_cast<EDA_ITEM*>( aItem ), aLayer ) ); if( !m_painter->Draw( static_cast<EDA_ITEM*>( aItem ), aLayer ) ) aItem->ViewDraw( aLayer, m_gal ); // Alternative drawing method m_gal->EndGroup(); Loading
include/gal/cairo/cairo_gal.h +1 −1 Original line number Diff line number Diff line Loading @@ -389,7 +389,7 @@ private: static const cairo_format_t GAL_FORMAT = CAIRO_FORMAT_RGB24; ///> Opacity of a single layer static const float LAYER_ALPHA = 0.8; static const float LAYER_ALPHA; }; } // namespace KIGFX Loading
include/gal/graphics_abstraction_layer.h +1 −1 Original line number Diff line number Diff line Loading @@ -820,7 +820,7 @@ public: /// Depth level on which the grid is drawn static const int GRID_DEPTH = 1024; static const double METRIC_UNIT_LENGTH = 1e9; static const double METRIC_UNIT_LENGTH; protected: std::stack<double> depthStack; ///< Stored depth values Loading