|
|
@ -270,7 +270,7 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const wxPoint& aOffset, |
|
|
|
switch( GetShape() ) |
|
|
|
{ |
|
|
|
case SHAPE_T::ARC: |
|
|
|
GRArc1( nullptr, DC, pt1.x, pt1.y, pt2.x, pt2.y, c.x, c.y, penWidth, color ); |
|
|
|
GRArc1( nullptr, DC, pt1, pt2, c, penWidth, color ); |
|
|
|
break; |
|
|
|
|
|
|
|
case SHAPE_T::CIRCLE: |
|
|
@ -304,9 +304,9 @@ void LIB_SHAPE::print( const RENDER_SETTINGS* aSettings, const wxPoint& aOffset, |
|
|
|
// If we stroke in GRFilledArc it will stroke the two radials too, so we have to
|
|
|
|
// fill and stroke separately
|
|
|
|
|
|
|
|
GRFilledArc( nullptr, DC, c.x, c.y, -t2, -t1, GetRadius(), 0, fillColor, fillColor ); |
|
|
|
GRFilledArc1( nullptr, DC, pt1, pt2, c, penWidth, fillColor, fillColor ); |
|
|
|
|
|
|
|
GRArc1( nullptr, DC, pt1.x, pt1.y, pt2.x, pt2.y, c.x, c.y, penWidth, color ); |
|
|
|
GRArc1( nullptr, DC, pt1, pt2, c, penWidth, color ); |
|
|
|
break; |
|
|
|
|
|
|
|
case SHAPE_T::CIRCLE: |
|
|
|