Removed: [#2541], [#2564] Antialias conflation fixer

This commit is contained in:
Jindra Petřík
2025-11-17 21:17:34 +01:00
parent 714dd8761c
commit 62bbd86140
3 changed files with 10 additions and 2 deletions

View File

@@ -840,8 +840,9 @@ public final class Configuration {
@ConfigurationDefaultBoolean(false)
@ConfigurationCategory("display")
@ConfigurationRemoved
public static ConfigurationItem<Boolean> fixAntialiasConflation = null;
@ConfigurationDefaultBoolean(true)
@ConfigurationCategory("display")
public static ConfigurationItem<Boolean> autoPlaySounds = null;

View File

@@ -415,9 +415,11 @@ public class BitmapExporter extends ShapeExporterBase {
thickness = 1 * SWF.unitDivisor / unzoom;
}
/*
if (Configuration.fixAntialiasConflation.get()) {
thickness += 1 * SWF.unitDivisor / unzoom;
}
*/
if (joinStyle == BasicStroke.JOIN_MITER) {
//lineStroke = new BasicStroke((float) thickness, capStyle, joinStyle, miterLimit);
@@ -684,10 +686,12 @@ public class BitmapExporter extends ShapeExporterBase {
} else {
graphics.setPaint(fillPaint);
graphics.fill(shp);
/*
if (Configuration.fixAntialiasConflation.get()) {
Shape strokeShape = new BasicStroke((float) (1 * SWF.unitDivisor / unzoom), BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND).createStrokedShape(shp);
graphics.fill(strokeShape);
}
*/
}
}
if (linePaint != null && lineStroke != null) {