Loading eeschema/libcmp.h +5 −4 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ class LibDrawArc : public LibEDA_BaseStruct { public: int m_Rayon; int m_Fill; bool m_Fill; int t1, t2; /* position des 2 extremites de l'arc en 0,1 degres */ wxPoint m_ArcStart, m_ArcEnd; /* position des 2 extremites de l'arc en coord reelles*/ Loading Loading @@ -299,7 +299,7 @@ class LibDrawSquare : public LibEDA_BaseStruct { public: wxPoint m_End; int m_Fill; bool m_Fill; public: LibDrawSquare(); Loading Loading @@ -335,8 +335,9 @@ public: class LibDrawPolyline : public LibEDA_BaseStruct { public: int n, * PolyList; int m_Fill; int n; int* PolyList; bool m_Fill; public: LibDrawPolyline(); Loading eeschema/plot.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -23,8 +23,8 @@ static void PlotPinSymbol( int posX, int posY, int len, int orient, int Shape ); /***/ /* cte pour remplissage de polygones */ #define FILL 1 #define NOFILL 0 #define FILL true #define NOFILL false #define PLOT_SHEETREF_MARGIN 0 // margin for sheet refs Loading Loading @@ -90,7 +90,7 @@ void PlotRect( wxPoint p1, wxPoint p2, int fill, int width ) } /*******************************************************************************/ void PlotArc( wxPoint centre, int StAngle, int EndAngle, int rayon, int fill, int width ) void PlotArc( wxPoint centre, int StAngle, int EndAngle, int rayon, bool fill, int width ) /*******************************************************************************/ /* trace d'un arc de cercle: Loading @@ -113,7 +113,7 @@ void PlotArc( wxPoint centre, int StAngle, int EndAngle, int rayon, int fill, in /*******************************************************/ void PlotCercle( wxPoint pos, int diametre, int fill, int width ) void PlotCercle( wxPoint pos, int diametre, bool fill, int width ) /*******************************************************/ { switch( g_PlotFormat ) Loading @@ -130,7 +130,7 @@ void PlotCercle( wxPoint pos, int diametre, int fill, int width ) /******************************************************************/ void PlotPoly( int nb, int* coord, int fill, int width ) void PlotPoly( int nb, int* coord, bool fill, int width ) /******************************************************************/ /* Trace un polygone ferme Loading Loading @@ -480,7 +480,7 @@ static void PlotPinSymbol( int posX, int posY, int len, int orient, int Shape ) { PlotCercle( wxPoint( MapX1 * INVERT_PIN_RADIUS + x1, MapY1 * INVERT_PIN_RADIUS + y1), INVERT_PIN_RADIUS * 2,0 ); false, INVERT_PIN_RADIUS * 2 ); Move_Plume( wxPoint( MapX1 * INVERT_PIN_RADIUS * 2 + x1, MapY1 * INVERT_PIN_RADIUS * 2 + y1 ), 'U' ); Loading eeschema/plothpgl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -677,7 +677,7 @@ void WinEDA_PlotHPGLFrame::Plot_1_Page_HPGL( const wxString& FullFileName, #undef STRUCT #define STRUCT ( (DrawJunctionStruct*) DrawList ) x1 = STRUCT->m_Pos.x; y1 = STRUCT->m_Pos.y; PlotCercle( wxPoint( x1, y1 ), DRAWJUNCTION_SIZE * 2, 1 ); PlotCercle( wxPoint( x1, y1 ), true, DRAWJUNCTION_SIZE * 2 ); break; case TYPE_SCH_TEXT: Loading eeschema/protos.h +2 −2 Original line number Diff line number Diff line Loading @@ -290,8 +290,8 @@ int CheckAnnotate(WinEDA_SchematicFrame * frame, bool OneSheetOnly); void SetCurrentLineWidth( int width); void PlotArc(wxPoint centre, int StAngle, int EndAngle, int rayon, int width = -1); void PlotCercle(wxPoint centre, int diametre, int fill, int width = -1); void PlotPoly( int nb, int * coord, int fill, int width = -1); void PlotCercle(wxPoint centre, int diametre, bool fill, int width = -1); void PlotPoly( int nb, int * coord, bool fill, int width = -1); void PlotNoConnectStruct(DrawNoConnectStruct * Struct); void PlotLibPart( SCH_COMPONENT *DrawLibItem ); Loading Loading
eeschema/libcmp.h +5 −4 Original line number Diff line number Diff line Loading @@ -238,7 +238,7 @@ class LibDrawArc : public LibEDA_BaseStruct { public: int m_Rayon; int m_Fill; bool m_Fill; int t1, t2; /* position des 2 extremites de l'arc en 0,1 degres */ wxPoint m_ArcStart, m_ArcEnd; /* position des 2 extremites de l'arc en coord reelles*/ Loading Loading @@ -299,7 +299,7 @@ class LibDrawSquare : public LibEDA_BaseStruct { public: wxPoint m_End; int m_Fill; bool m_Fill; public: LibDrawSquare(); Loading Loading @@ -335,8 +335,9 @@ public: class LibDrawPolyline : public LibEDA_BaseStruct { public: int n, * PolyList; int m_Fill; int n; int* PolyList; bool m_Fill; public: LibDrawPolyline(); Loading
eeschema/plot.cpp +6 −6 Original line number Diff line number Diff line Loading @@ -23,8 +23,8 @@ static void PlotPinSymbol( int posX, int posY, int len, int orient, int Shape ); /***/ /* cte pour remplissage de polygones */ #define FILL 1 #define NOFILL 0 #define FILL true #define NOFILL false #define PLOT_SHEETREF_MARGIN 0 // margin for sheet refs Loading Loading @@ -90,7 +90,7 @@ void PlotRect( wxPoint p1, wxPoint p2, int fill, int width ) } /*******************************************************************************/ void PlotArc( wxPoint centre, int StAngle, int EndAngle, int rayon, int fill, int width ) void PlotArc( wxPoint centre, int StAngle, int EndAngle, int rayon, bool fill, int width ) /*******************************************************************************/ /* trace d'un arc de cercle: Loading @@ -113,7 +113,7 @@ void PlotArc( wxPoint centre, int StAngle, int EndAngle, int rayon, int fill, in /*******************************************************/ void PlotCercle( wxPoint pos, int diametre, int fill, int width ) void PlotCercle( wxPoint pos, int diametre, bool fill, int width ) /*******************************************************/ { switch( g_PlotFormat ) Loading @@ -130,7 +130,7 @@ void PlotCercle( wxPoint pos, int diametre, int fill, int width ) /******************************************************************/ void PlotPoly( int nb, int* coord, int fill, int width ) void PlotPoly( int nb, int* coord, bool fill, int width ) /******************************************************************/ /* Trace un polygone ferme Loading Loading @@ -480,7 +480,7 @@ static void PlotPinSymbol( int posX, int posY, int len, int orient, int Shape ) { PlotCercle( wxPoint( MapX1 * INVERT_PIN_RADIUS + x1, MapY1 * INVERT_PIN_RADIUS + y1), INVERT_PIN_RADIUS * 2,0 ); false, INVERT_PIN_RADIUS * 2 ); Move_Plume( wxPoint( MapX1 * INVERT_PIN_RADIUS * 2 + x1, MapY1 * INVERT_PIN_RADIUS * 2 + y1 ), 'U' ); Loading
eeschema/plothpgl.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -677,7 +677,7 @@ void WinEDA_PlotHPGLFrame::Plot_1_Page_HPGL( const wxString& FullFileName, #undef STRUCT #define STRUCT ( (DrawJunctionStruct*) DrawList ) x1 = STRUCT->m_Pos.x; y1 = STRUCT->m_Pos.y; PlotCercle( wxPoint( x1, y1 ), DRAWJUNCTION_SIZE * 2, 1 ); PlotCercle( wxPoint( x1, y1 ), true, DRAWJUNCTION_SIZE * 2 ); break; case TYPE_SCH_TEXT: Loading
eeschema/protos.h +2 −2 Original line number Diff line number Diff line Loading @@ -290,8 +290,8 @@ int CheckAnnotate(WinEDA_SchematicFrame * frame, bool OneSheetOnly); void SetCurrentLineWidth( int width); void PlotArc(wxPoint centre, int StAngle, int EndAngle, int rayon, int width = -1); void PlotCercle(wxPoint centre, int diametre, int fill, int width = -1); void PlotPoly( int nb, int * coord, int fill, int width = -1); void PlotCercle(wxPoint centre, int diametre, bool fill, int width = -1); void PlotPoly( int nb, int * coord, bool fill, int width = -1); void PlotNoConnectStruct(DrawNoConnectStruct * Struct); void PlotLibPart( SCH_COMPONENT *DrawLibItem ); Loading