more plot fixes
This commit is contained in:
parent
d8485267e7
commit
90721d13fc
|
@ -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*/
|
||||
|
||||
|
@ -299,7 +299,7 @@ class LibDrawSquare : public LibEDA_BaseStruct
|
|||
{
|
||||
public:
|
||||
wxPoint m_End;
|
||||
int m_Fill;
|
||||
bool m_Fill;
|
||||
|
||||
public:
|
||||
LibDrawSquare();
|
||||
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
@ -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 )
|
||||
|
@ -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
|
||||
|
@ -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' );
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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…
Reference in New Issue