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
+1 -1
View File
@@ -340,7 +340,7 @@ void AddGerberX2Header( PLOTTER* aPlotter, const BOARD* aBoard, bool aUseX1Compa
// Please, if absolute Pcbnew coordinates, one day, are set by user, change the way
// the key is built to ensure file only using the *same* axis have the same key.
wxString registration_id = "Original";
wxPoint auxOrigin = aBoard->GetDesignSettings().GetAuxOrigin();
VECTOR2I auxOrigin = aBoard->GetDesignSettings().GetAuxOrigin();
if( aBoard->GetPlotOptions().GetUseAuxOrigin() && auxOrigin.x && auxOrigin.y )
registration_id.Printf( "PX%xPY%x", auxOrigin.x, auxOrigin.y );