mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-13 21:29:55 +00:00
Spelling fix
This commit is contained in:
@@ -157,7 +157,7 @@ public class DefineFontTag extends FontTag {
|
||||
|
||||
@Override
|
||||
public void updateBounds() {
|
||||
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
|
||||
throw new UnsupportedOperationException("Not supported yet.");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -29,8 +29,8 @@ public final class PathArea {
|
||||
final double flatness = 0.5;
|
||||
final int limit = 10;
|
||||
|
||||
PathIterator it = shape.getPathIterator((AffineTransform) null);
|
||||
FlatteningPathIterator fpi = new FlatteningPathIterator(it, flatness, limit);
|
||||
PathIterator pathIterator = shape.getPathIterator((AffineTransform) null);
|
||||
FlatteningPathIterator flatteningPathIterator = new FlatteningPathIterator(pathIterator, flatness, limit);
|
||||
|
||||
double[] coords = new double[6];
|
||||
List<double[]> current = new ArrayList<>();
|
||||
@@ -41,8 +41,8 @@ public final class PathArea {
|
||||
double lastY = 0;
|
||||
boolean hasOpen = false;
|
||||
|
||||
while (!fpi.isDone()) {
|
||||
int seg = fpi.currentSegment(coords);
|
||||
while (!flatteningPathIterator.isDone()) {
|
||||
int seg = flatteningPathIterator.currentSegment(coords);
|
||||
switch (seg) {
|
||||
case PathIterator.SEG_MOVETO:
|
||||
// Start a new subpath
|
||||
@@ -85,7 +85,7 @@ public final class PathArea {
|
||||
// Should not happen because we flattened, but keep for completeness
|
||||
throw new IllegalStateException("Unexpected segment type: " + seg);
|
||||
}
|
||||
fpi.next();
|
||||
flatteningPathIterator.next();
|
||||
}
|
||||
|
||||
// If path ended without SEG_CLOSE for the last subpath
|
||||
|
||||
@@ -32,7 +32,6 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
@@ -572,7 +571,7 @@ public class ShapeFixer {
|
||||
}
|
||||
}
|
||||
|
||||
//sharing start end end point
|
||||
//sharing start end point
|
||||
if (t1Ref.size() == 2) {
|
||||
if ((t1Ref.get(0) == 0 || t1Ref.get(0) == 1)
|
||||
&& (t1Ref.get(1) == 0 || t1Ref.get(1) == 1)
|
||||
|
||||
@@ -69,7 +69,7 @@ public class SwitchedFillSidesFixer {
|
||||
return area / 2.0;
|
||||
}
|
||||
|
||||
private BezierEdge iedgeToBezier(IEdge ie) {
|
||||
private BezierEdge iEdgeToBezier(IEdge ie) {
|
||||
assert (ie != null);
|
||||
if (ie instanceof CurvedEdge) {
|
||||
CurvedEdge ce = (CurvedEdge) ie;
|
||||
@@ -367,7 +367,7 @@ public class SwitchedFillSidesFixer {
|
||||
boolean clockwise = !polygon.ccw;
|
||||
|
||||
for (IEdge e : list) {
|
||||
BezierEdge be = iedgeToBezier(e);
|
||||
BezierEdge be = iEdgeToBezier(e);
|
||||
BezierEdge beRev = be.reverse();
|
||||
int localFs = globalToLocalFillStyleMap.get(fillStyleIdx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user