Convert wxPoint/wxSize starting from EDA_RECT usages

This commit is contained in:
Marek Roszko
2022-01-01 11:30:33 -05:00
parent 14209c04ee
commit 347e03363a
88 changed files with 397 additions and 351 deletions
+4 -4
View File
@@ -386,8 +386,8 @@ void BRDITEMS_PLOTTER::PlotFootprintTextItem( const FP_TEXT* aText, const COLOR4
m_plotter->SetColor( color );
// calculate some text parameters :
wxSize size = aText->GetTextSize();
wxPoint pos = aText->GetTextPos();
VECTOR2I size = aText->GetTextSize();
VECTOR2I pos = aText->GetTextPos();
int thickness = aText->GetEffectiveTextPenWidth();
if( aText->IsMirrored() )
@@ -753,8 +753,8 @@ void BRDITEMS_PLOTTER::PlotPcbText( const PCB_TEXT* aText )
COLOR4D color = getColor( aText->GetLayer() );
m_plotter->SetColor( color );
wxSize size = aText->GetTextSize();
wxPoint pos = aText->GetTextPos();
VECTOR2I size = aText->GetTextSize();
VECTOR2I pos = aText->GetTextPos();
int thickness = aText->GetEffectiveTextPenWidth();
if( aText->IsMirrored() )