public class com.sun.prism.image.ViewPort
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.prism.image.ViewPort
super_class: java.lang.Object
{
public float u0;
descriptor: F
flags: (0x0001) ACC_PUBLIC
public float v0;
descriptor: F
flags: (0x0001) ACC_PUBLIC
public float u1;
descriptor: F
flags: (0x0001) ACC_PUBLIC
public float v1;
descriptor: F
flags: (0x0001) ACC_PUBLIC
public void <init>(float, float, float, float);
descriptor: (FFFF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
fload 1
putfield com.sun.prism.image.ViewPort.u0:F
aload 0
fload 1
fload 3
fadd
putfield com.sun.prism.image.ViewPort.u1:F
2: aload 0
fload 2
putfield com.sun.prism.image.ViewPort.v0:F
aload 0
fload 2
fload 4
fadd
putfield com.sun.prism.image.ViewPort.v1:F
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/prism/image/ViewPort;
0 4 1 u F
0 4 2 v F
0 4 3 du F
0 4 4 dv F
MethodParameters:
Name Flags
u
v
du
dv
public com.sun.prism.image.ViewPort getScaledVersion(float);
descriptor: (F)Lcom/sun/prism/image/ViewPort;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: fload 1
fconst_1
fcmpl
ifne 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.u0:F
fload 1
fmul
fstore 2
start local 2 3: aload 0
getfield com.sun.prism.image.ViewPort.v0:F
fload 1
fmul
fstore 3
start local 3 4: aload 0
getfield com.sun.prism.image.ViewPort.u1:F
fload 1
fmul
fstore 4
start local 4 5: aload 0
getfield com.sun.prism.image.ViewPort.v1:F
fload 1
fmul
fstore 5
start local 5 6: new com.sun.prism.image.ViewPort
dup
fload 2
fload 3
fload 4
fload 2
fsub
fload 5
fload 3
fsub
invokespecial com.sun.prism.image.ViewPort.<init>:(FFFF)V
areturn
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 7 0 this Lcom/sun/prism/image/ViewPort;
0 7 1 pixelScale F
3 7 2 newu0 F
4 7 3 newv0 F
5 7 4 newu1 F
6 7 5 newv1 F
MethodParameters:
Name Flags
pixelScale
public float getRelX(float);
descriptor: (F)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: fload 1
aload 0
getfield com.sun.prism.image.ViewPort.u0:F
fsub
aload 0
getfield com.sun.prism.image.ViewPort.u1:F
aload 0
getfield com.sun.prism.image.ViewPort.u0:F
fsub
fdiv
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/image/ViewPort;
0 1 1 u F
MethodParameters:
Name Flags
u
public float getRelY(float);
descriptor: (F)F
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: fload 1
aload 0
getfield com.sun.prism.image.ViewPort.v0:F
fsub
aload 0
getfield com.sun.prism.image.ViewPort.v1:F
aload 0
getfield com.sun.prism.image.ViewPort.v0:F
fsub
fdiv
freturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/image/ViewPort;
0 1 1 v F
MethodParameters:
Name Flags
v
public com.sun.prism.image.Coords getClippedCoords(float, float, float, float);
descriptor: (FFFF)Lcom/sun/prism/image/Coords;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new com.sun.prism.image.Coords
dup
fload 3
fload 4
aload 0
invokespecial com.sun.prism.image.Coords.<init>:(FFLcom/sun/prism/image/ViewPort;)V
astore 5
start local 5 1: aload 0
getfield com.sun.prism.image.ViewPort.u1:F
fload 1
fcmpl
ifgt 2
aload 0
getfield com.sun.prism.image.ViewPort.u0:F
fconst_0
fcmpg
ifge 10
2: StackMap locals: com.sun.prism.image.Coords
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.u0:F
fload 1
fcmpl
ifge 3
aload 0
getfield com.sun.prism.image.ViewPort.u1:F
fconst_0
fcmpg
ifgt 4
StackMap locals:
StackMap stack:
3: aconst_null
areturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.u1:F
fload 1
fcmpl
ifle 7
5: aload 5
fload 3
aload 0
fload 1
invokevirtual com.sun.prism.image.ViewPort.getRelX:(F)F
fmul
putfield com.sun.prism.image.Coords.x1:F
6: aload 5
fload 1
putfield com.sun.prism.image.Coords.u1:F
7: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.u0:F
fconst_0
fcmpg
ifge 10
8: aload 5
fload 3
aload 0
fconst_0
invokevirtual com.sun.prism.image.ViewPort.getRelX:(F)F
fmul
putfield com.sun.prism.image.Coords.x0:F
9: aload 5
fconst_0
putfield com.sun.prism.image.Coords.u0:F
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.v1:F
fload 2
fcmpl
ifgt 11
aload 0
getfield com.sun.prism.image.ViewPort.v0:F
fconst_0
fcmpg
ifge 19
11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.v0:F
fload 2
fcmpl
ifge 12
aload 0
getfield com.sun.prism.image.ViewPort.v1:F
fconst_0
fcmpg
ifgt 13
StackMap locals:
StackMap stack:
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.v1:F
fload 2
fcmpl
ifle 16
14: aload 5
fload 4
aload 0
fload 2
invokevirtual com.sun.prism.image.ViewPort.getRelY:(F)F
fmul
putfield com.sun.prism.image.Coords.y1:F
15: aload 5
fload 2
putfield com.sun.prism.image.Coords.v1:F
16: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.image.ViewPort.v0:F
fconst_0
fcmpg
ifge 19
17: aload 5
fload 4
aload 0
fconst_0
invokevirtual com.sun.prism.image.ViewPort.getRelY:(F)F
fmul
putfield com.sun.prism.image.Coords.y0:F
18: aload 5
fconst_0
putfield com.sun.prism.image.Coords.v0:F
19: StackMap locals:
StackMap stack:
aload 5
areturn
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 20 0 this Lcom/sun/prism/image/ViewPort;
0 20 1 iw F
0 20 2 ih F
0 20 3 w F
0 20 4 h F
1 20 5 cr Lcom/sun/prism/image/Coords;
MethodParameters:
Name Flags
iw
ih
w
h
}
SourceFile: "ViewPort.java"