public class com.sun.prism.impl.shape.BasicRoundRectRep extends com.sun.prism.impl.shape.BasicShapeRep
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.prism.impl.shape.BasicRoundRectRep
super_class: com.sun.prism.impl.shape.BasicShapeRep
{
private static final float[] TMP_ARR;
descriptor: [F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_4
newarray 6
putstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.prism.impl.shape.BasicShapeRep.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/impl/shape/BasicRoundRectRep;
public void fill(com.sun.prism.Graphics, com.sun.javafx.geom.Shape, com.sun.javafx.geom.BaseBounds);
descriptor: (Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/Shape;Lcom/sun/javafx/geom/BaseBounds;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
checkcast com.sun.javafx.geom.RoundRectangle2D
invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.fillRoundRect:(Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/RoundRectangle2D;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/impl/shape/BasicRoundRectRep;
0 2 1 g Lcom/sun/prism/Graphics;
0 2 2 shape Lcom/sun/javafx/geom/Shape;
0 2 3 bounds Lcom/sun/javafx/geom/BaseBounds;
MethodParameters:
Name Flags
g
shape
bounds
public static void fillRoundRect(com.sun.prism.Graphics, com.sun.javafx.geom.RoundRectangle2D);
descriptor: (Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/RoundRectangle2D;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
fconst_0
fcmpg
ifle 1
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
fconst_0
fcmpg
ifgt 2
1: StackMap locals:
StackMap stack:
return
2: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.arcWidth:F
fstore 2
start local 2 3: aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.arcHeight:F
fstore 3
start local 3 4: fload 2
fconst_0
fcmpl
ifle 7
fload 3
fconst_0
fcmpl
ifle 7
5: aload 0
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
fload 2
fload 3
invokeinterface com.sun.prism.Graphics.fillRoundRect:(FFFFFF)V
6: goto 11
7: StackMap locals: float float
StackMap stack:
aload 0
aload 1
invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.isAARequiredForFill:(Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/RoundRectangle2D;)Z
ifeq 10
8: aload 0
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
invokeinterface com.sun.prism.Graphics.fillRect:(FFFF)V
9: goto 11
10: StackMap locals:
StackMap stack:
aload 0
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
fadd
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
fadd
invokeinterface com.sun.prism.Graphics.fillQuad:(FFFF)V
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 g Lcom/sun/prism/Graphics;
0 12 1 r Lcom/sun/javafx/geom/RoundRectangle2D;
3 12 2 arcw F
4 12 3 arch F
MethodParameters:
Name Flags
g
r
public void draw(com.sun.prism.Graphics, com.sun.javafx.geom.Shape, com.sun.javafx.geom.BaseBounds);
descriptor: (Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/Shape;Lcom/sun/javafx/geom/BaseBounds;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
aload 2
checkcast com.sun.javafx.geom.RoundRectangle2D
invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.drawRoundRect:(Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/RoundRectangle2D;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/impl/shape/BasicRoundRectRep;
0 2 1 g Lcom/sun/prism/Graphics;
0 2 2 shape Lcom/sun/javafx/geom/Shape;
0 2 3 bounds Lcom/sun/javafx/geom/BaseBounds;
MethodParameters:
Name Flags
g
shape
bounds
public static void drawRoundRect(com.sun.prism.Graphics, com.sun.javafx.geom.RoundRectangle2D);
descriptor: (Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/RoundRectangle2D;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.arcWidth:F
fstore 2
start local 2 1: aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.arcHeight:F
fstore 3
start local 3 2: fload 2
fconst_0
fcmpl
ifle 5
fload 3
fconst_0
fcmpl
ifle 5
3: aload 0
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
fload 2
fload 3
invokeinterface com.sun.prism.Graphics.drawRoundRect:(FFFFFF)V
4: goto 6
5: StackMap locals: float float
StackMap stack:
aload 0
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
invokeinterface com.sun.prism.Graphics.drawRect:(FFFF)V
6: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 g Lcom/sun/prism/Graphics;
0 7 1 r Lcom/sun/javafx/geom/RoundRectangle2D;
1 7 2 arcw F
2 7 3 arch F
MethodParameters:
Name Flags
g
r
private static boolean notIntEnough(float);
descriptor: (F)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: fload 0
fload 0
invokestatic java.lang.Math.round:(F)I
i2f
fsub
invokestatic java.lang.Math.abs:(F)F
f2d
ldc 0.06
dcmpl
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 f F
MethodParameters:
Name Flags
f
private static boolean notOnIntGrid(float, float, float, float);
descriptor: (FFFF)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: fload 0
invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.notIntEnough:(F)Z
ifne 3
fload 1
invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.notIntEnough:(F)Z
ifne 3
1: fload 2
invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.notIntEnough:(F)Z
ifne 3
fload 3
invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.notIntEnough:(F)Z
ifne 3
2: iconst_0
ireturn
StackMap locals:
StackMap stack:
3: iconst_1
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 x1 F
0 4 1 y1 F
0 4 2 x2 F
0 4 3 y2 F
MethodParameters:
Name Flags
x1
y1
x2
y2
protected static boolean isAARequiredForFill(com.sun.prism.Graphics, com.sun.javafx.geom.RoundRectangle2D);
descriptor: (Lcom/sun/prism/Graphics;Lcom/sun/javafx/geom/RoundRectangle2D;)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface com.sun.prism.Graphics.getTransformNoClone:()Lcom/sun/javafx/geom/transform/BaseTransform;
astore 2
start local 2 1: aload 2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.getType:()I
i2l
lstore 3
start local 3 2: lload 3
ldc -16
land
lconst_0
lcmp
ifeq 3
iconst_1
goto 4
StackMap locals: com.sun.javafx.geom.transform.BaseTransform long
StackMap stack:
3: iconst_0
4: StackMap locals:
StackMap stack: int
istore 5
start local 5 5: iload 5
ifeq 7
6: iconst_1
ireturn
7: StackMap locals: int
StackMap stack:
aload 2
ifnull 8
aload 2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.isIdentity:()Z
ifeq 12
8: StackMap locals:
StackMap stack:
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
9: aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
fadd
10: aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
fadd
11: invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.notOnIntGrid:(FFFF)Z
ireturn
12: StackMap locals:
StackMap stack:
getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_0
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
fastore
13: getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_1
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
fastore
14: getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_2
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.x:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.width:F
fadd
fastore
15: getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_3
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.y:F
aload 1
getfield com.sun.javafx.geom.RoundRectangle2D.height:F
fadd
fastore
16: aload 2
getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_0
getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_0
iconst_2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.transform:([FI[FII)V
17: getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_0
faload
getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_1
faload
18: getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_2
faload
getstatic com.sun.prism.impl.shape.BasicRoundRectRep.TMP_ARR:[F
iconst_3
faload
19: invokestatic com.sun.prism.impl.shape.BasicRoundRectRep.notOnIntGrid:(FFFF)Z
ireturn
end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 g Lcom/sun/prism/Graphics;
0 20 1 rrect Lcom/sun/javafx/geom/RoundRectangle2D;
1 20 2 xform Lcom/sun/javafx/geom/transform/BaseTransform;
2 20 3 t J
5 20 5 aaRequiredForSure Z
MethodParameters:
Name Flags
g
rrect
}
SourceFile: "BasicRoundRectRep.java"