Allow hatch pattern in filled zones
the filled areas can use a hatch pattern (crossing lines) using square holes. The zone filler removes too small holes (truncated holes) from hatch pattern. It avoid to create small holes when a hole pattern is truncated by the filled area base shape.
This commit is contained in:
@@ -698,8 +698,8 @@ void BRDITEMS_PLOTTER::PlotFilledAreas( ZONE_CONTAINER* aZone )
|
||||
if( GetPlotMode() == FILLED )
|
||||
{
|
||||
// Plot the filled area polygon.
|
||||
// The area can be filled by segments or uses solid polygons
|
||||
if( aZone->GetFillMode() == ZONE_FILL_MODE::ZFM_POLYGONS ) // We are using solid polygons
|
||||
// The area can be filled by segments (outdated) or uses solid polygons
|
||||
if( aZone->GetFillMode() != ZONE_FILL_MODE::ZFM_SEGMENTS ) // We are using solid polygons
|
||||
{
|
||||
m_plotter->PlotPoly( cornerList, FILLED_SHAPE, aZone->GetMinThickness(), &gbr_metadata );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user