1
/**********************************************/
2
/* Routine de selection de couches pour trace */
3
/**********************************************/
13
/* Variables locales : */
15
/* Routines Locales */
16
/****************************/
17
/* int GetLayerNumber(void) */
18
/****************************/
19
/* retourne le nombre de couches a tracer
21
int GetLayerNumber(void)
29
/*******************************************************************************/
30
void Print_PcbItems(BOARD * Pcb, wxDC *DC, int drawmode, int printmasklayer)
31
/*******************************************************************************/
32
/* routine de trace du pcb, avec selection des couches */
34
DISPLAY_OPTIONS save_opt;
37
save_opt = DisplayOpt;
38
DisplayOpt.DisplayPadFill = FILLED;
39
DisplayOpt.DisplayPadNum = 0;
40
DisplayOpt.DisplayPadNoConn = 0;
41
DisplayOpt.DisplayPadIsol = 0;
42
DisplayOpt.DisplayPcbTrackFill = FILLED;
43
DisplayOpt.DisplayTrackIsol = 0;
44
DisplayOpt.DisplayDrawItems = FILLED;
45
DisplayOpt.DisplayZones = 1;
47
/* trace des pistes */
48
pt_piste = Pcb->m_Track;
49
for ( ; pt_piste != NULL ; pt_piste = (TRACK*) pt_piste->Pnext )
51
// if( (printmasklayer & ReturnMaskLayer(pt_piste) ) == 0 ) continue;
52
Trace_Segment(NULL, DC, pt_piste, drawmode);
55
DisplayOpt = save_opt;