Fixed distorted polygons' corner display
This commit is contained in:
parent
664692b2e6
commit
05e3ae645d
|
@ -500,7 +500,7 @@ void PCB_PAINTER::draw( const ZONE_CONTAINER* aContainer )
|
||||||
std::vector<CPolyPt> polyPoints = aContainer->GetFilledPolysList();
|
std::vector<CPolyPt> polyPoints = aContainer->GetFilledPolysList();
|
||||||
std::deque<VECTOR2D> corners;
|
std::deque<VECTOR2D> corners;
|
||||||
|
|
||||||
m_gal->SetLineCap( LINE_CAP_ROUND );
|
m_gal->SetLineCap( LINE_CAP_BUTT );
|
||||||
m_gal->SetLineJoin( LINE_JOIN_ROUND );
|
m_gal->SetLineJoin( LINE_JOIN_ROUND );
|
||||||
m_gal->SetFillColor( fillColor );
|
m_gal->SetFillColor( fillColor );
|
||||||
m_gal->SetStrokeColor( fillColor );
|
m_gal->SetStrokeColor( fillColor );
|
||||||
|
|
Loading…
Reference in New Issue