public final class com.sun.marlin.PathSimplifier implements com.sun.javafx.geom.PathConsumer2D
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.marlin.PathSimplifier
super_class: java.lang.Object
{
private static final float PIX_THRESHOLD;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final float SQUARE_TOLERANCE;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private com.sun.javafx.geom.PathConsumer2D delegate;
descriptor: Lcom/sun/javafx/geom/PathConsumer2D;
flags: (0x0002) ACC_PRIVATE
private float cx;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float cy;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private boolean skipped;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private float sx;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float sy;
descriptor: F
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic com.sun.marlin.MarlinProperties.getPathSimplifierPixelTolerance:()F
putstatic com.sun.marlin.PathSimplifier.PIX_THRESHOLD:F
1: getstatic com.sun.marlin.PathSimplifier.PIX_THRESHOLD:F
getstatic com.sun.marlin.PathSimplifier.PIX_THRESHOLD:F
fmul
putstatic com.sun.marlin.PathSimplifier.SQUARE_TOLERANCE:F
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/marlin/PathSimplifier;
public com.sun.marlin.PathSimplifier init(com.sun.javafx.geom.PathConsumer2D);
descriptor: (Lcom/sun/javafx/geom/PathConsumer2D;)Lcom/sun/marlin/PathSimplifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield com.sun.marlin.PathSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
1: aload 0
iconst_0
putfield com.sun.marlin.PathSimplifier.skipped:Z
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/PathSimplifier;
0 3 1 delegate Lcom/sun/javafx/geom/PathConsumer2D;
MethodParameters:
Name Flags
delegate final
private void finishPath();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.marlin.PathSimplifier.skipped:Z
ifeq 2
1: aload 0
aload 0
getfield com.sun.marlin.PathSimplifier.sx:F
aload 0
getfield com.sun.marlin.PathSimplifier.sy:F
invokevirtual com.sun.marlin.PathSimplifier._lineTo:(FF)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/PathSimplifier;
public void pathDone();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.marlin.PathSimplifier.finishPath:()V
1: aload 0
getfield com.sun.marlin.PathSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
invokeinterface com.sun.javafx.geom.PathConsumer2D.pathDone:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/PathSimplifier;
public void closePath();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.marlin.PathSimplifier.finishPath:()V
1: aload 0
getfield com.sun.marlin.PathSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
invokeinterface com.sun.javafx.geom.PathConsumer2D.closePath:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/PathSimplifier;
public void moveTo(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.marlin.PathSimplifier.finishPath:()V
1: aload 0
getfield com.sun.marlin.PathSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
invokeinterface com.sun.javafx.geom.PathConsumer2D.moveTo:(FF)V
2: aload 0
fload 1
putfield com.sun.marlin.PathSimplifier.cx:F
3: aload 0
fload 2
putfield com.sun.marlin.PathSimplifier.cy:F
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/marlin/PathSimplifier;
0 5 1 xe F
0 5 2 ye F
MethodParameters:
Name Flags
xe final
ye final
public void lineTo(float, float);
descriptor: (FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: fload 1
aload 0
getfield com.sun.marlin.PathSimplifier.cx:F
fsub
fstore 3
start local 3 1: fload 2
aload 0
getfield com.sun.marlin.PathSimplifier.cy:F
fsub
fstore 4
start local 4 2: fload 3
fload 3
fmul
fload 4
fload 4
fmul
fadd
getstatic com.sun.marlin.PathSimplifier.SQUARE_TOLERANCE:F
fcmpg
ifgt 7
3: aload 0
iconst_1
putfield com.sun.marlin.PathSimplifier.skipped:Z
4: aload 0
fload 1
putfield com.sun.marlin.PathSimplifier.sx:F
5: aload 0
fload 2
putfield com.sun.marlin.PathSimplifier.sy:F
6: return
7: StackMap locals: float float
StackMap stack:
aload 0
fload 1
fload 2
invokevirtual com.sun.marlin.PathSimplifier._lineTo:(FF)V
8: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/marlin/PathSimplifier;
0 9 1 xe F
0 9 2 ye F
1 9 3 dx F
2 9 4 dy F
MethodParameters:
Name Flags
xe final
ye final
private void _lineTo(float, float);
descriptor: (FF)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.sun.marlin.PathSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
invokeinterface com.sun.javafx.geom.PathConsumer2D.lineTo:(FF)V
1: aload 0
fload 1
putfield com.sun.marlin.PathSimplifier.cx:F
2: aload 0
fload 2
putfield com.sun.marlin.PathSimplifier.cy:F
3: aload 0
iconst_0
putfield com.sun.marlin.PathSimplifier.skipped:Z
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/marlin/PathSimplifier;
0 5 1 xe F
0 5 2 ye F
MethodParameters:
Name Flags
xe final
ye final
public void quadTo(float, float, float, float);
descriptor: (FFFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: fload 3
aload 0
getfield com.sun.marlin.PathSimplifier.cx:F
fsub
fstore 5
start local 5 1: fload 4
aload 0
getfield com.sun.marlin.PathSimplifier.cy:F
fsub
fstore 6
start local 6 2: fload 5
fload 5
fmul
fload 6
fload 6
fmul
fadd
getstatic com.sun.marlin.PathSimplifier.SQUARE_TOLERANCE:F
fcmpg
ifgt 10
3: fload 1
aload 0
getfield com.sun.marlin.PathSimplifier.cx:F
fsub
fstore 5
4: fload 2
aload 0
getfield com.sun.marlin.PathSimplifier.cy:F
fsub
fstore 6
5: fload 5
fload 5
fmul
fload 6
fload 6
fmul
fadd
getstatic com.sun.marlin.PathSimplifier.SQUARE_TOLERANCE:F
fcmpg
ifgt 10
6: aload 0
iconst_1
putfield com.sun.marlin.PathSimplifier.skipped:Z
7: aload 0
fload 3
putfield com.sun.marlin.PathSimplifier.sx:F
8: aload 0
fload 4
putfield com.sun.marlin.PathSimplifier.sy:F
9: return
10: StackMap locals: float float
StackMap stack:
aload 0
getfield com.sun.marlin.PathSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
fload 3
fload 4
invokeinterface com.sun.javafx.geom.PathConsumer2D.quadTo:(FFFF)V
11: aload 0
fload 3
putfield com.sun.marlin.PathSimplifier.cx:F
12: aload 0
fload 4
putfield com.sun.marlin.PathSimplifier.cy:F
13: aload 0
iconst_0
putfield com.sun.marlin.PathSimplifier.skipped:Z
14: return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/marlin/PathSimplifier;
0 15 1 x1 F
0 15 2 y1 F
0 15 3 xe F
0 15 4 ye F
1 15 5 dx F
2 15 6 dy F
MethodParameters:
Name Flags
x1 final
y1 final
xe final
ye final
public void curveTo(float, float, float, float, float, float);
descriptor: (FFFFFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=9, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: fload 5
aload 0
getfield com.sun.marlin.PathSimplifier.cx:F
fsub
fstore 7
start local 7 1: fload 6
aload 0
getfield com.sun.marlin.PathSimplifier.cy:F
fsub
fstore 8
start local 8 2: fload 7
fload 7
fmul
fload 8
fload 8
fmul
fadd
getstatic com.sun.marlin.PathSimplifier.SQUARE_TOLERANCE:F
fcmpg
ifgt 13
3: fload 1
aload 0
getfield com.sun.marlin.PathSimplifier.cx:F
fsub
fstore 7
4: fload 2
aload 0
getfield com.sun.marlin.PathSimplifier.cy:F
fsub
fstore 8
5: fload 7
fload 7
fmul
fload 8
fload 8
fmul
fadd
getstatic com.sun.marlin.PathSimplifier.SQUARE_TOLERANCE:F
fcmpg
ifgt 13
6: fload 3
aload 0
getfield com.sun.marlin.PathSimplifier.cx:F
fsub
fstore 7
7: fload 4
aload 0
getfield com.sun.marlin.PathSimplifier.cy:F
fsub
fstore 8
8: fload 7
fload 7
fmul
fload 8
fload 8
fmul
fadd
getstatic com.sun.marlin.PathSimplifier.SQUARE_TOLERANCE:F
fcmpg
ifgt 13
9: aload 0
iconst_1
putfield com.sun.marlin.PathSimplifier.skipped:Z
10: aload 0
fload 5
putfield com.sun.marlin.PathSimplifier.sx:F
11: aload 0
fload 6
putfield com.sun.marlin.PathSimplifier.sy:F
12: return
13: StackMap locals: float float
StackMap stack:
aload 0
getfield com.sun.marlin.PathSimplifier.delegate:Lcom/sun/javafx/geom/PathConsumer2D;
fload 1
fload 2
fload 3
fload 4
fload 5
fload 6
invokeinterface com.sun.javafx.geom.PathConsumer2D.curveTo:(FFFFFF)V
14: aload 0
fload 5
putfield com.sun.marlin.PathSimplifier.cx:F
15: aload 0
fload 6
putfield com.sun.marlin.PathSimplifier.cy:F
16: aload 0
iconst_0
putfield com.sun.marlin.PathSimplifier.skipped:Z
17: return
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/marlin/PathSimplifier;
0 18 1 x1 F
0 18 2 y1 F
0 18 3 x2 F
0 18 4 y2 F
0 18 5 xe F
0 18 6 ye F
1 18 7 dx F
2 18 8 dy F
MethodParameters:
Name Flags
x1 final
y1 final
x2 final
y2 final
xe final
ye final
}
SourceFile: "PathSimplifier.java"