Small change in print function: print footprint after zones (like in BOARD::Draw) to make pads holes visible on copper zones
This commit is contained in:
parent
bd529a7cb0
commit
b4b7ef99e9
|
@ -108,14 +108,6 @@ void WinEDA_DrawPanel::PrintPage( wxDC* aDC, bool aPrint_Sheet_Ref, int aPrintMa
|
||||||
pt_piste->Draw( this, aDC, drawmode );
|
pt_piste->Draw( this, aDC, drawmode );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Draw footprints, this is done at last in order to print the pad holes in while
|
|
||||||
// after the tracks
|
|
||||||
Module = (MODULE*) Pcb->m_Modules;
|
|
||||||
for( ; Module != NULL; Module = Module->Next() )
|
|
||||||
{
|
|
||||||
Print_Module( this, aDC, Module, drawmode, aPrintMaskLayer );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* Draw filled areas (i.e. zones) */
|
/* Draw filled areas (i.e. zones) */
|
||||||
for( int ii = 0; ii < Pcb->GetAreaCount(); ii++ )
|
for( int ii = 0; ii < Pcb->GetAreaCount(); ii++ )
|
||||||
|
@ -127,6 +119,14 @@ void WinEDA_DrawPanel::PrintPage( wxDC* aDC, bool aPrint_Sheet_Ref, int aPrintMa
|
||||||
zone->DrawFilledArea( this, aDC, drawmode );
|
zone->DrawFilledArea( this, aDC, drawmode );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Draw footprints, this is done at last in order to print the pad holes in white (or g_DrawBgColor)
|
||||||
|
// after the tracks and zones
|
||||||
|
Module = (MODULE*) Pcb->m_Modules;
|
||||||
|
for( ; Module != NULL; Module = Module->Next() )
|
||||||
|
{
|
||||||
|
Print_Module( this, aDC, Module, drawmode, aPrintMaskLayer );
|
||||||
|
}
|
||||||
|
|
||||||
/* Print via holes in bg color: Not sure it is good for buried or blind vias */
|
/* Print via holes in bg color: Not sure it is good for buried or blind vias */
|
||||||
pt_piste = Pcb->m_Track;
|
pt_piste = Pcb->m_Track;
|
||||||
int color = g_DrawBgColor;
|
int color = g_DrawBgColor;
|
||||||
|
|
Loading…
Reference in New Issue