HPGL plotting: fix random lines connecting to circles.
This commit is contained in:
parent
4c0a75cbd4
commit
45791ff8d6
|
@ -435,7 +435,6 @@ void HPGL_PLOTTER::Circle( const VECTOR2I& aCenter, int aDiameter, FILL_T aFill,
|
||||||
chord_angle.AsDegrees(),
|
chord_angle.AsDegrees(),
|
||||||
hpgl_end_polygon_cmd ) );
|
hpgl_end_polygon_cmd ) );
|
||||||
m_current_item->lift_before = true;
|
m_current_item->lift_before = true;
|
||||||
m_current_item->pen_returns = true;
|
|
||||||
m_current_item->bbox.Merge( BOX2D( center_dev - radius,
|
m_current_item->bbox.Merge( BOX2D( center_dev - radius,
|
||||||
VECTOR2D( 2 * radius, 2 * radius ) ) );
|
VECTOR2D( 2 * radius, 2 * radius ) ) );
|
||||||
PenFinish();
|
PenFinish();
|
||||||
|
@ -448,7 +447,6 @@ void HPGL_PLOTTER::Circle( const VECTOR2I& aCenter, int aDiameter, FILL_T aFill,
|
||||||
radius,
|
radius,
|
||||||
chord_angle.AsDegrees() ) );
|
chord_angle.AsDegrees() ) );
|
||||||
m_current_item->lift_before = true;
|
m_current_item->lift_before = true;
|
||||||
m_current_item->pen_returns = true;
|
|
||||||
m_current_item->bbox.Merge( BOX2D( center_dev - radius,
|
m_current_item->bbox.Merge( BOX2D( center_dev - radius,
|
||||||
VECTOR2D( 2 * radius, 2 * radius ) ) );
|
VECTOR2D( 2 * radius, 2 * radius ) ) );
|
||||||
PenFinish();
|
PenFinish();
|
||||||
|
|
Loading…
Reference in New Issue