Loading change_log.txt +5 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,11 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. 2008-Sep-26 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ +pcbnew: more about use polygons in zone fill algos on techinals layers: plot Ok. holes are handled 2008-Sep-26 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ Loading cvpcb/setvisu.cpp +16 −7 Original line number Diff line number Diff line Loading @@ -83,21 +83,30 @@ void WinEDA_DisplayFrame::RedrawActiveWindow( wxDC* DC, bool EraseBg ) if( !m_Pcb ) return; MODULE* Module = m_Pcb->m_Modules; ActiveScreen = (PCB_SCREEN*) GetScreen(); if( EraseBg ) DrawPanel->EraseScreen( DC ); DrawPanel->DrawBackGround( DC ); m_Pcb->Draw( DrawPanel, DC, GR_COPY, wxPoint(0,0) ); MODULE* Module = m_Pcb->m_Modules; if ( Module ) { Module->Draw( DrawPanel, DC, GR_COPY ); Module->Display_Infos( this ); } Affiche_Status_Box(); DrawPanel->Trace_Curseur( DC ); } /********************************************************************/ void BOARD::Draw( WinEDA_DrawPanel* aPanel, wxDC* DC, int aDrawMode, const wxPoint& offset ) /********************************************************************/ /* Redraw the BOARD items but not cursors, axis or grid */ { if( m_Modules ) { m_Modules->Draw( aPanel, DC, GR_COPY ); } } gerbview/tracepcb.cpp +11 −3 Original line number Diff line number Diff line Loading @@ -86,6 +86,14 @@ void WinEDA_GerberFrame::RedrawActiveWindow( wxDC* DC, bool EraseBg ) DrawPanel->Trace_Curseur( DC ); } /********************************************************************/ void BOARD::Draw( WinEDA_DrawPanel* aPanel, wxDC* DC, int aDrawMode, const wxPoint& offset ) /********************************************************************/ /* Redraw the BOARD items but not cursors, axis or grid */ // @todo: replace WinEDA_GerberFrame::Trace_Gerber() by this function { } /***********************************************************************************/ void WinEDA_GerberFrame::Trace_Gerber( wxDC* DC, int draw_mode, int printmasklayer ) Loading @@ -104,7 +112,7 @@ void WinEDA_GerberFrame::Trace_Gerber( wxDC* DC, int draw_mode, int printmasklay Draw_Track_Buffer( DrawPanel, DC, m_Pcb, draw_mode, printmasklayer ); // Draw filled polygons #define NBMAX 2000 #define NBMAX 20000 TRACK* track; int nbpoints = 0; int nbpointsmax = NBMAX; Loading include/wxPcbStruct.h +0 −1 Original line number Diff line number Diff line Loading @@ -438,7 +438,6 @@ public: void Liste_Equipot( wxCommandEvent& event ); void Swap_Layers( wxCommandEvent& event ); void Install_Test_DRC_Frame( wxDC* DC ); void Trace_Pcb( wxDC* DC, int mode ); // Handling texts on the board void Rotate_Texte_Pcb( TEXTE_PCB* TextePcb, wxDC* DC ); Loading pcbnew/class_board.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -1045,6 +1045,8 @@ out: return rc; } /***********************************************************************************************/ void BOARD::RedrawAreasOutlines(WinEDA_DrawPanel* panel, wxDC * aDC, int aDrawMode, int aLayer) /***********************************************************************************************/ Loading Loading
change_log.txt +5 −0 Original line number Diff line number Diff line Loading @@ -5,6 +5,11 @@ Started 2007-June-11 Please add newer entries at the top, list the date and your name with email address. 2008-Sep-26 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ +pcbnew: more about use polygons in zone fill algos on techinals layers: plot Ok. holes are handled 2008-Sep-26 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> ================================================================================ Loading
cvpcb/setvisu.cpp +16 −7 Original line number Diff line number Diff line Loading @@ -83,21 +83,30 @@ void WinEDA_DisplayFrame::RedrawActiveWindow( wxDC* DC, bool EraseBg ) if( !m_Pcb ) return; MODULE* Module = m_Pcb->m_Modules; ActiveScreen = (PCB_SCREEN*) GetScreen(); if( EraseBg ) DrawPanel->EraseScreen( DC ); DrawPanel->DrawBackGround( DC ); m_Pcb->Draw( DrawPanel, DC, GR_COPY, wxPoint(0,0) ); MODULE* Module = m_Pcb->m_Modules; if ( Module ) { Module->Draw( DrawPanel, DC, GR_COPY ); Module->Display_Infos( this ); } Affiche_Status_Box(); DrawPanel->Trace_Curseur( DC ); } /********************************************************************/ void BOARD::Draw( WinEDA_DrawPanel* aPanel, wxDC* DC, int aDrawMode, const wxPoint& offset ) /********************************************************************/ /* Redraw the BOARD items but not cursors, axis or grid */ { if( m_Modules ) { m_Modules->Draw( aPanel, DC, GR_COPY ); } }
gerbview/tracepcb.cpp +11 −3 Original line number Diff line number Diff line Loading @@ -86,6 +86,14 @@ void WinEDA_GerberFrame::RedrawActiveWindow( wxDC* DC, bool EraseBg ) DrawPanel->Trace_Curseur( DC ); } /********************************************************************/ void BOARD::Draw( WinEDA_DrawPanel* aPanel, wxDC* DC, int aDrawMode, const wxPoint& offset ) /********************************************************************/ /* Redraw the BOARD items but not cursors, axis or grid */ // @todo: replace WinEDA_GerberFrame::Trace_Gerber() by this function { } /***********************************************************************************/ void WinEDA_GerberFrame::Trace_Gerber( wxDC* DC, int draw_mode, int printmasklayer ) Loading @@ -104,7 +112,7 @@ void WinEDA_GerberFrame::Trace_Gerber( wxDC* DC, int draw_mode, int printmasklay Draw_Track_Buffer( DrawPanel, DC, m_Pcb, draw_mode, printmasklayer ); // Draw filled polygons #define NBMAX 2000 #define NBMAX 20000 TRACK* track; int nbpoints = 0; int nbpointsmax = NBMAX; Loading
include/wxPcbStruct.h +0 −1 Original line number Diff line number Diff line Loading @@ -438,7 +438,6 @@ public: void Liste_Equipot( wxCommandEvent& event ); void Swap_Layers( wxCommandEvent& event ); void Install_Test_DRC_Frame( wxDC* DC ); void Trace_Pcb( wxDC* DC, int mode ); // Handling texts on the board void Rotate_Texte_Pcb( TEXTE_PCB* TextePcb, wxDC* DC ); Loading
pcbnew/class_board.cpp +2 −0 Original line number Diff line number Diff line Loading @@ -1045,6 +1045,8 @@ out: return rc; } /***********************************************************************************************/ void BOARD::RedrawAreasOutlines(WinEDA_DrawPanel* panel, wxDC * aDC, int aDrawMode, int aLayer) /***********************************************************************************************/ Loading