public final class com.sun.marlin.DCollinearSimplifier implements com.sun.marlin.DPathConsumer2D
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.marlin.DCollinearSimplifier
super_class: java.lang.Object
{
static final double EPS;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1.0E-4
com.sun.marlin.DPathConsumer2D delegate;
descriptor: Lcom/sun/marlin/DPathConsumer2D;
flags: (0x0000)
com.sun.marlin.DCollinearSimplifier$SimplifierState state;
descriptor: Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
flags: (0x0000)
double px1;
descriptor: D
flags: (0x0000)
double py1;
descriptor: D
flags: (0x0000)
double px2;
descriptor: D
flags: (0x0000)
double py2;
descriptor: D
flags: (0x0000)
double pslope;
descriptor: D
flags: (0x0000)
private static volatile int[] $SWITCH_TABLE$com$sun$marlin$DCollinearSimplifier$SimplifierState;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
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/DCollinearSimplifier;
public com.sun.marlin.DCollinearSimplifier init(com.sun.marlin.DPathConsumer2D);
descriptor: (Lcom/sun/marlin/DPathConsumer2D;)Lcom/sun/marlin/DCollinearSimplifier;
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.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
1: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
2: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/DCollinearSimplifier;
0 3 1 delegate Lcom/sun/marlin/DPathConsumer2D;
MethodParameters:
Name Flags
delegate
public void pathDone();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.marlin.DCollinearSimplifier.emitStashedLine:()V
1: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
2: aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
invokeinterface com.sun.marlin.DPathConsumer2D.pathDone:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/marlin/DCollinearSimplifier;
public void closePath();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.marlin.DCollinearSimplifier.emitStashedLine:()V
1: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
2: aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
invokeinterface com.sun.marlin.DPathConsumer2D.closePath:()V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/marlin/DCollinearSimplifier;
public void quadTo(double, double, double, double);
descriptor: (DDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
invokevirtual com.sun.marlin.DCollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
dload 1
dload 3
dload 5
dload 7
invokeinterface com.sun.marlin.DPathConsumer2D.quadTo:(DDDD)V
2: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
3: aload 0
dload 5
putfield com.sun.marlin.DCollinearSimplifier.px1:D
4: aload 0
dload 7
putfield com.sun.marlin.DCollinearSimplifier.py1:D
5: return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/marlin/DCollinearSimplifier;
0 6 1 x1 D
0 6 3 y1 D
0 6 5 x2 D
0 6 7 y2 D
MethodParameters:
Name Flags
x1
y1
x2
y2
public void curveTo(double, double, double, double, double, double);
descriptor: (DDDDDD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=13, locals=13, args_size=7
start local 0 start local 1 start local 3 start local 5 start local 7 start local 9 start local 11 0: aload 0
invokevirtual com.sun.marlin.DCollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
dload 1
dload 3
dload 5
dload 7
dload 9
dload 11
invokeinterface com.sun.marlin.DPathConsumer2D.curveTo:(DDDDDD)V
2: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
3: aload 0
dload 9
putfield com.sun.marlin.DCollinearSimplifier.px1:D
4: aload 0
dload 11
putfield com.sun.marlin.DCollinearSimplifier.py1:D
5: return
end local 11 end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/marlin/DCollinearSimplifier;
0 6 1 x1 D
0 6 3 y1 D
0 6 5 x2 D
0 6 7 y2 D
0 6 9 x3 D
0 6 11 y3 D
MethodParameters:
Name Flags
x1
y1
x2
y2
x3
y3
public void moveTo(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
invokevirtual com.sun.marlin.DCollinearSimplifier.emitStashedLine:()V
1: aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
dload 1
dload 3
invokeinterface com.sun.marlin.DPathConsumer2D.moveTo:(DD)V
2: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
3: aload 0
dload 1
putfield com.sun.marlin.DCollinearSimplifier.px1:D
4: aload 0
dload 3
putfield com.sun.marlin.DCollinearSimplifier.py1:D
5: return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/marlin/DCollinearSimplifier;
0 6 1 x D
0 6 3 y D
MethodParameters:
Name Flags
x
y
public void lineTo(double, double);
descriptor: (DD)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=7, args_size=3
start local 0 start local 1 start local 3 0: invokestatic com.sun.marlin.DCollinearSimplifier.$SWITCH_TABLE$com$sun$marlin$DCollinearSimplifier$SimplifierState:()[I
aload 0
getfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
invokevirtual com.sun.marlin.DCollinearSimplifier$SimplifierState.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 1
2: 6
3: 11
default: 23
}
1: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
dload 1
dload 3
invokeinterface com.sun.marlin.DPathConsumer2D.lineTo:(DD)V
2: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
3: aload 0
dload 1
putfield com.sun.marlin.DCollinearSimplifier.px1:D
4: aload 0
dload 3
putfield com.sun.marlin.DCollinearSimplifier.py1:D
5: return
6: StackMap locals:
StackMap stack:
aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousLine:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
putfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
7: aload 0
dload 1
putfield com.sun.marlin.DCollinearSimplifier.px2:D
8: aload 0
dload 3
putfield com.sun.marlin.DCollinearSimplifier.py2:D
9: aload 0
aload 0
getfield com.sun.marlin.DCollinearSimplifier.px1:D
aload 0
getfield com.sun.marlin.DCollinearSimplifier.py1:D
dload 1
dload 3
invokestatic com.sun.marlin.DCollinearSimplifier.getSlope:(DDDD)D
putfield com.sun.marlin.DCollinearSimplifier.pslope:D
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.marlin.DCollinearSimplifier.px2:D
aload 0
getfield com.sun.marlin.DCollinearSimplifier.py2:D
dload 1
dload 3
invokestatic com.sun.marlin.DCollinearSimplifier.getSlope:(DDDD)D
dstore 5
start local 5 12: dload 5
aload 0
getfield com.sun.marlin.DCollinearSimplifier.pslope:D
dcmpl
ifeq 13
aload 0
getfield com.sun.marlin.DCollinearSimplifier.pslope:D
dload 5
dsub
invokestatic java.lang.Math.abs:(D)D
ldc 1.0E-4
dcmpg
ifge 16
13: StackMap locals: double
StackMap stack:
aload 0
dload 1
putfield com.sun.marlin.DCollinearSimplifier.px2:D
14: aload 0
dload 3
putfield com.sun.marlin.DCollinearSimplifier.py2:D
15: return
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
aload 0
getfield com.sun.marlin.DCollinearSimplifier.px2:D
aload 0
getfield com.sun.marlin.DCollinearSimplifier.py2:D
invokeinterface com.sun.marlin.DPathConsumer2D.lineTo:(DD)V
17: aload 0
aload 0
getfield com.sun.marlin.DCollinearSimplifier.px2:D
putfield com.sun.marlin.DCollinearSimplifier.px1:D
18: aload 0
aload 0
getfield com.sun.marlin.DCollinearSimplifier.py2:D
putfield com.sun.marlin.DCollinearSimplifier.py1:D
19: aload 0
dload 1
putfield com.sun.marlin.DCollinearSimplifier.px2:D
20: aload 0
dload 3
putfield com.sun.marlin.DCollinearSimplifier.py2:D
21: aload 0
dload 5
putfield com.sun.marlin.DCollinearSimplifier.pslope:D
22: return
end local 5 23: StackMap locals:
StackMap stack:
return
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/sun/marlin/DCollinearSimplifier;
0 24 1 x D
0 24 3 y D
12 23 5 slope D
MethodParameters:
Name Flags
x final
y final
private void emitStashedLine();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.marlin.DCollinearSimplifier.state:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousLine:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
if_acmpne 2
1: aload 0
getfield com.sun.marlin.DCollinearSimplifier.delegate:Lcom/sun/marlin/DPathConsumer2D;
aload 0
getfield com.sun.marlin.DCollinearSimplifier.px2:D
aload 0
getfield com.sun.marlin.DCollinearSimplifier.py2:D
invokeinterface com.sun.marlin.DPathConsumer2D.lineTo:(DD)V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/marlin/DCollinearSimplifier;
private static double getSlope(double, double, double, double);
descriptor: (DDDD)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=10, args_size=4
start local 0 start local 2 start local 4 start local 6 0: dload 6
dload 2
dsub
dstore 8
start local 8 1: dload 8
dconst_0
dcmpl
ifne 5
2: dload 4
dload 0
dcmpl
ifle 3
ldc Infinity
goto 4
3: StackMap locals: double
StackMap stack:
ldc -Infinity
4: StackMap locals:
StackMap stack: double
dreturn
5: StackMap locals:
StackMap stack:
dload 4
dload 0
dsub
dload 8
ddiv
dreturn
end local 8 end local 6 end local 4 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 x1 D
0 6 2 y1 D
0 6 4 x2 D
0 6 6 y2 D
1 6 8 dy D
MethodParameters:
Name Flags
x1
y1
x2
y2
static int[] $SWITCH_TABLE$com$sun$marlin$DCollinearSimplifier$SimplifierState();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.marlin.DCollinearSimplifier.$SWITCH_TABLE$com$sun$marlin$DCollinearSimplifier$SimplifierState:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.marlin.DCollinearSimplifier$SimplifierState.values:()[Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.Empty:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
invokevirtual com.sun.marlin.DCollinearSimplifier$SimplifierState.ordinal:()I
iconst_1
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousLine:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
invokevirtual com.sun.marlin.DCollinearSimplifier$SimplifierState.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.marlin.DCollinearSimplifier$SimplifierState.PreviousPoint:Lcom/sun/marlin/DCollinearSimplifier$SimplifierState;
invokevirtual com.sun.marlin.DCollinearSimplifier$SimplifierState.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic com.sun.marlin.DCollinearSimplifier.$SWITCH_TABLE$com$sun$marlin$DCollinearSimplifier$SimplifierState:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "DCollinearSimplifier.java"
NestMembers:
com.sun.marlin.DCollinearSimplifier$SimplifierState
InnerClasses:
final SimplifierState = com.sun.marlin.DCollinearSimplifier$SimplifierState of com.sun.marlin.DCollinearSimplifier