Plot pad outlines on Fab files: fix many issues.
Depending on plotter type and pad type, the plotted shapes were not always the outlines, but a outline inside the pad shape (due to legacy reasons). In many cases the plotted shape was in fact incorrect. (only noticeable for very small pads) Now the actual pad outlines are plotted without modification. Fixes #11484 https://gitlab.com/kicad/code/kicad/issues/11484
This commit is contained in:
@@ -549,7 +549,7 @@ void PLOTTER::sketchOval( const VECTOR2I& aPos, const VECTOR2I& aSize, const EDA
|
||||
}
|
||||
|
||||
int deltaxy = size.y - size.x; /* distance between centers of the oval */
|
||||
int radius = ( size.x - m_currentPenWidth ) / 2;
|
||||
int radius = size.x / 2;
|
||||
|
||||
pt.x = -radius;
|
||||
pt.y = -deltaxy / 2;
|
||||
|
||||
Reference in New Issue
Block a user