2007-06-05 12:10:51 +00:00
|
|
|
/* declarations prototype */
|
|
|
|
|
|
|
|
/***************************/
|
|
|
|
/* select_layers_to_pcb.cpp*/
|
|
|
|
/***************************/
|
|
|
|
int * InstallDialogLayerPairChoice(WinEDA_GerberFrame * parent);
|
|
|
|
|
2007-09-10 04:51:01 +00:00
|
|
|
/***********************/
|
|
|
|
/* gerbview_config.cpp */
|
|
|
|
/***********************/
|
2007-09-13 11:55:46 +00:00
|
|
|
bool Read_Config();
|
2007-09-10 04:51:01 +00:00
|
|
|
bool Read_Hotkey_Config( WinEDA_DrawFrame * frame, bool verbose );
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
/* pcbplot.cpp */
|
|
|
|
void Plume(int state);
|
|
|
|
|
|
|
|
/****************/
|
|
|
|
/* lay2plot.cpp */
|
|
|
|
|
|
|
|
void Print_PcbItems(BOARD * Pcb, wxDC *DC, int drawmode, int printmasklayer);
|
|
|
|
|
|
|
|
/*****************/
|
|
|
|
/* set_color.cpp */
|
|
|
|
/*****************/
|
|
|
|
void DisplayColorSetupFrame(WinEDA_DrawFrame * parent, const wxPoint & framepos);
|
|
|
|
|
|
|
|
|
|
|
|
/* PLOT_RTN.CC */
|
|
|
|
void ComputePlotFileName( char * FullFileName, char * Ext );
|
|
|
|
void calcule_coord_plot(int * dx, int * dy ) ;
|
|
|
|
void calcule_dim_plot(int * dx, int * dy ) ;
|
|
|
|
void Trace_Un_TextePcb( TEXTE_PCB * pt_texte,int format_plot,int masque_layer);
|
2008-04-01 06:32:48 +00:00
|
|
|
/* Trace 1 Texte type PCB , c.a.d autre que les textes sur modules,
|
2008-12-22 21:06:44 +00:00
|
|
|
prepare les parametres de trace de texte */
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_arc(int format_plot,int cx,int cy,int start,int end,
|
2008-04-01 06:32:48 +00:00
|
|
|
int rayon,int epaisseur);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_cercle(int format_plot,int epaisseur,int cx, int cy, int rayon);
|
|
|
|
|
|
|
|
void Trace_Un_DrawSegment( DRAWSEGMENT* PtSegm, int format_plot,int masque_layer );
|
|
|
|
|
|
|
|
void Trace_Une_MirePcb( MIREPCB* PtMire, int format_plot,int masque_layer );
|
|
|
|
|
|
|
|
/* PLOTGERB.CC */
|
|
|
|
void trace_1_segment_GERBER(int pos_X0,int pos_Y0,int pos_X1,int pos_Y1,
|
2008-04-01 06:32:48 +00:00
|
|
|
int hauteur);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_cercle_GERBER( int cx, int cy, int rayon, int epaisseur);
|
|
|
|
void trace_1_contour_GERBER(int cX,int cY, int dimX,int dimY,
|
2008-04-01 06:32:48 +00:00
|
|
|
int deltaX, int deltaY,
|
|
|
|
int dim_trait, int orient);
|
|
|
|
/* Trace 1 contour rectangulaire ou trapezoidal d'orientation quelconque
|
|
|
|
donne par son centre cX, cY, ses dimensions dimX et dimY,
|
|
|
|
ses variations deltaX et deltaY et son orientation orient */
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
/* PLOTHPGL.CC */
|
2007-09-13 11:55:46 +00:00
|
|
|
void Init_Trace_HPGL();
|
|
|
|
void Fin_Trace_HPGL();
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_segment_HPGL(int pos_X0,int pos_Y0,int pos_X1,int pos_Y1,
|
2008-04-01 06:32:48 +00:00
|
|
|
int hauteur);
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
void trace_1_pad_TRAPEZE_HPGL(int cX,int cY,
|
2008-04-01 06:32:48 +00:00
|
|
|
int dimX,int dimY,int deltaX, int deltaY,
|
|
|
|
int orient,int modetrace);
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
void trace_1_pastille_RONDE_HPGL(int pos_X,int pos_Y,int diametre,int modetrace) ;
|
|
|
|
|
|
|
|
void trace_1_pastille_OVALE_HPGL(int pos_X,int pos_Y,int dx,int dy,
|
2008-04-01 06:32:48 +00:00
|
|
|
int orient,int modetrace) ;
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_pad_rectangulaire_HPGL(int cX,int cY,int dimX,int dimY,
|
2008-04-01 06:32:48 +00:00
|
|
|
int orient,int modetrace) ;
|
2007-06-05 12:10:51 +00:00
|
|
|
void Move_Plume_HPGL( int x,int y,int plume);
|
2008-04-01 06:32:48 +00:00
|
|
|
/* deplace la plume levee (plume = 'U') ou baissee (plume = 'D')
|
|
|
|
en position x,y */
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
void Plume_HPGL( int plume );
|
2008-04-01 06:32:48 +00:00
|
|
|
/* leve (plume = 'U') ou baisse (plume = 'D') la plume */
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
/**************/
|
|
|
|
/* PRINTPS.CC */
|
|
|
|
/**************/
|
|
|
|
void trace_1_pastille_OVALE_POST(int pos_X,int pos_Y,
|
2008-04-01 06:32:48 +00:00
|
|
|
int dx, int dy, int orient, int modetrace);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_pastille_RONDE_POST(int pos_X,int pos_Y,int diametre,
|
2008-04-01 06:32:48 +00:00
|
|
|
int modetrace);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_pad_rectangulaire_POST(int cX,int cY,
|
2008-04-01 06:32:48 +00:00
|
|
|
int dimX,int dimY,int orient,
|
|
|
|
int modetrace);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_contour_POST(int cX,int cY, int dimX,int dimY,
|
2008-04-01 06:32:48 +00:00
|
|
|
int deltaX, int deltaY,
|
|
|
|
int dim_trait, int orient);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_pad_TRAPEZE_POST(int cX,int cY,
|
2008-04-01 06:32:48 +00:00
|
|
|
int dimX,int dimY,int deltaX, int deltaY,
|
|
|
|
int orient,int modetrace);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_segment_POST(int pos_X0,int pos_Y0,int pos_X1,int pos_Y1,
|
2008-04-01 06:32:48 +00:00
|
|
|
int large);
|
2007-06-05 12:10:51 +00:00
|
|
|
void trace_1_Cercle_POST(int pos_X,int pos_Y,int diametre, int width);
|
|
|
|
void PlotArcPS(int x, int y, int StAngle, int EndAngle, int rayon, int width);
|
|
|
|
|
|
|
|
|
|
|
|
/***************/
|
|
|
|
/* trpiste.cpp */
|
|
|
|
/***************/
|
2007-08-21 19:37:31 +00:00
|
|
|
void Draw_Track_Buffer(WinEDA_DrawPanel * panel, wxDC * DC, BOARD * Pcb, int drawmode, int printmasklayer);
|
2007-06-05 12:10:51 +00:00
|
|
|
void Trace_Segment(WinEDA_DrawPanel * panel, wxDC * DC, TRACK* pt_piste, int draw_mode);
|
|
|
|
void Trace_1_texte_pcb(WinEDA_DrawPanel * panel, wxDC * DC,
|
2008-04-01 06:32:48 +00:00
|
|
|
TEXTE_PCB * pt_texte,int ox,int oy, int DrawMode);
|
2007-06-05 12:10:51 +00:00
|
|
|
|
|
|
|
void Affiche_DCodes_Pistes(WinEDA_DrawPanel * panel, wxDC * DC,
|
2008-04-01 06:32:48 +00:00
|
|
|
BOARD * Pcb, int drawmode);
|
2007-06-05 12:10:51 +00:00
|
|
|
|