public class com.sun.prism.impl.paint.PaintUtil
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.prism.impl.paint.PaintUtil
super_class: java.lang.Object
{
private static final com.sun.javafx.geom.transform.Affine2D gradXform;
descriptor: Lcom/sun/javafx/geom/transform/Affine2D;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.javafx.geom.transform.Affine2D
dup
invokespecial com.sun.javafx.geom.transform.Affine2D.<init>:()V
putstatic com.sun.prism.impl.paint.PaintUtil.gradXform:Lcom/sun/javafx/geom/transform/Affine2D;
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 java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/impl/paint/PaintUtil;
public static void fillImageWithGradient(int[], com.sun.prism.paint.Gradient, com.sun.javafx.geom.transform.BaseTransform, int, int, int, int, float, float, float, float);
descriptor: ([ILcom/sun/prism/paint/Gradient;Lcom/sun/javafx/geom/transform/BaseTransform;IIIIFFFF)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=26, args_size=11
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 0: aload 1
astore 11
start local 11 1: aload 11
invokevirtual com.sun.prism.paint.Gradient.getNumStops:()I
istore 12
start local 12 2: iload 12
newarray 6
astore 13
start local 13 3: iload 12
anewarray com.sun.prism.paint.Color
astore 14
start local 14 4: iconst_0
istore 15
start local 15 5: goto 10
6: StackMap locals: int[] com.sun.prism.paint.Gradient com.sun.javafx.geom.transform.BaseTransform int int int int float float float float com.sun.prism.paint.Gradient int float[] com.sun.prism.paint.Color[] int
StackMap stack:
aload 11
invokevirtual com.sun.prism.paint.Gradient.getStops:()Ljava/util/List;
iload 15
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
astore 16
start local 16 7: aload 13
iload 15
aload 16
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
fastore
8: aload 14
iload 15
aload 16
invokevirtual com.sun.prism.paint.Stop.getColor:()Lcom/sun/prism/paint/Color;
aastore
end local 16 9: iinc 15 1
StackMap locals:
StackMap stack:
10: iload 15
iload 12
if_icmplt 6
end local 15 11: aload 1
invokevirtual com.sun.prism.paint.Gradient.getType:()Lcom/sun/prism/paint/Paint$Type;
getstatic com.sun.prism.paint.Paint$Type.LINEAR_GRADIENT:Lcom/sun/prism/paint/Paint$Type;
if_acmpne 32
12: aload 1
checkcast com.sun.prism.paint.LinearGradient
astore 16
start local 16 13: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.isProportional:()Z
ifeq 19
14: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getX1:()F
fload 9
fmul
fload 7
fadd
fstore 17
start local 17 15: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getY1:()F
fload 10
fmul
fload 8
fadd
fstore 18
start local 18 16: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getX2:()F
fload 9
fmul
fload 7
fadd
fstore 19
start local 19 17: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getY2:()F
fload 10
fmul
fload 8
fadd
fstore 20
start local 20 18: goto 23
end local 20 end local 19 end local 18 end local 17 19: StackMap locals: int[] com.sun.prism.paint.Gradient com.sun.javafx.geom.transform.BaseTransform int int int int float float float float com.sun.prism.paint.Gradient int float[] com.sun.prism.paint.Color[] top com.sun.prism.paint.LinearGradient
StackMap stack:
aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getX1:()F
fstore 17
start local 17 20: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getY1:()F
fstore 18
start local 18 21: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getX2:()F
fstore 19
start local 19 22: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getY2:()F
fstore 20
start local 20 23: StackMap locals: int[] com.sun.prism.paint.Gradient com.sun.javafx.geom.transform.BaseTransform int int int int float float float float com.sun.prism.paint.Gradient int float[] com.sun.prism.paint.Color[] top com.sun.prism.paint.LinearGradient float float float float
StackMap stack:
fload 17
fload 19
fcmpl
ifne 26
fload 18
fload 20
fcmpl
ifne 26
24: fload 17
ldc 1.0E-6
fsub
fstore 17
25: fload 19
ldc 1.0E-6
fadd
fstore 19
26: StackMap locals:
StackMap stack:
new com.sun.prism.impl.paint.LinearGradientContext
dup
aload 16
aload 2
27: fload 17
fload 18
fload 19
fload 20
28: aload 13
aload 14
29: aload 16
invokevirtual com.sun.prism.paint.LinearGradient.getSpreadMethod:()I
30: invokespecial com.sun.prism.impl.paint.LinearGradientContext.<init>:(Lcom/sun/prism/paint/LinearGradient;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF[F[Lcom/sun/prism/paint/Color;I)V
astore 15
end local 20 end local 19 end local 18 end local 17 end local 16 start local 15 31: goto 60
end local 15 32: StackMap locals: int[] com.sun.prism.paint.Gradient com.sun.javafx.geom.transform.BaseTransform int int int int float float float float com.sun.prism.paint.Gradient int float[] com.sun.prism.paint.Color[]
StackMap stack:
aload 1
checkcast com.sun.prism.paint.RadialGradient
astore 16
start local 16 33: getstatic com.sun.prism.impl.paint.PaintUtil.gradXform:Lcom/sun/javafx/geom/transform/Affine2D;
aload 2
invokevirtual com.sun.javafx.geom.transform.Affine2D.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
34: aload 16
invokevirtual com.sun.prism.paint.RadialGradient.getRadius:()F
fstore 17
start local 17 35: aload 16
invokevirtual com.sun.prism.paint.RadialGradient.getCenterX:()F
fstore 18
start local 18 36: aload 16
invokevirtual com.sun.prism.paint.RadialGradient.getCenterY:()F
fstore 19
start local 19 37: aload 16
invokevirtual com.sun.prism.paint.RadialGradient.getFocusAngle:()F
f2d
invokestatic java.lang.Math.toRadians:(D)D
dstore 20
start local 20 38: aload 16
invokevirtual com.sun.prism.paint.RadialGradient.getFocusDistance:()F
fstore 22
start local 22 39: aload 16
invokevirtual com.sun.prism.paint.RadialGradient.isProportional:()Z
ifeq 50
40: fload 7
fload 9
fconst_2
fdiv
fadd
fstore 23
start local 23 41: fload 8
fload 10
fconst_2
fdiv
fadd
fstore 24
start local 24 42: fload 9
fload 10
invokestatic java.lang.Math.min:(FF)F
fstore 25
start local 25 43: fload 18
ldc 0.5
fsub
fload 25
fmul
fload 23
fadd
fstore 18
44: fload 19
ldc 0.5
fsub
fload 25
fmul
fload 24
fadd
fstore 19
45: fload 9
fload 10
fcmpl
ifeq 49
fload 9
fconst_0
fcmpl
ifeq 49
fload 10
fconst_0
fcmpl
ifeq 49
46: getstatic com.sun.prism.impl.paint.PaintUtil.gradXform:Lcom/sun/javafx/geom/transform/Affine2D;
fload 23
f2d
fload 24
f2d
invokevirtual com.sun.javafx.geom.transform.Affine2D.translate:(DD)V
47: getstatic com.sun.prism.impl.paint.PaintUtil.gradXform:Lcom/sun/javafx/geom/transform/Affine2D;
fload 9
fload 25
fdiv
f2d
fload 10
fload 25
fdiv
f2d
invokevirtual com.sun.javafx.geom.transform.Affine2D.scale:(DD)V
48: getstatic com.sun.prism.impl.paint.PaintUtil.gradXform:Lcom/sun/javafx/geom/transform/Affine2D;
fload 23
fneg
f2d
fload 24
fneg
f2d
invokevirtual com.sun.javafx.geom.transform.Affine2D.translate:(DD)V
49: StackMap locals: int[] com.sun.prism.paint.Gradient com.sun.javafx.geom.transform.BaseTransform int int int int float float float float com.sun.prism.paint.Gradient int float[] com.sun.prism.paint.Color[] top com.sun.prism.paint.RadialGradient float float float double float float float float
StackMap stack:
fload 17
fload 25
fmul
fstore 17
end local 25 end local 24 end local 23 50: StackMap locals:
StackMap stack:
fload 17
fconst_0
fcmpg
ifgt 52
51: ldc 0.001
fstore 17
52: StackMap locals:
StackMap stack:
fload 22
fload 17
fmul
fstore 22
53: fload 18
f2d
fload 22
f2d
dload 20
invokestatic java.lang.Math.cos:(D)D
dmul
dadd
d2f
fstore 23
start local 23 54: fload 19
f2d
fload 22
f2d
dload 20
invokestatic java.lang.Math.sin:(D)D
dmul
dadd
d2f
fstore 24
start local 24 55: new com.sun.prism.impl.paint.RadialGradientContext
dup
aload 16
getstatic com.sun.prism.impl.paint.PaintUtil.gradXform:Lcom/sun/javafx/geom/transform/Affine2D;
56: fload 18
fload 19
fload 17
fload 23
fload 24
57: aload 13
aload 14
58: aload 16
invokevirtual com.sun.prism.paint.RadialGradient.getSpreadMethod:()I
59: invokespecial com.sun.prism.impl.paint.RadialGradientContext.<init>:(Lcom/sun/prism/paint/RadialGradient;Lcom/sun/javafx/geom/transform/BaseTransform;FFFFF[F[Lcom/sun/prism/paint/Color;I)V
astore 15
end local 24 end local 23 end local 22 end local 20 end local 19 end local 18 end local 17 end local 16 start local 15 60: StackMap locals: int[] com.sun.prism.paint.Gradient com.sun.javafx.geom.transform.BaseTransform int int int int float float float float com.sun.prism.paint.Gradient int float[] com.sun.prism.paint.Color[] com.sun.prism.impl.paint.MultipleGradientContext
StackMap stack:
aload 15
aload 0
iconst_0
iconst_0
iload 3
iload 4
iload 5
iload 6
invokevirtual com.sun.prism.impl.paint.MultipleGradientContext.fillRaster:([IIIIIII)V
61: return
end local 15 end local 14 end local 13 end local 12 end local 11 end local 10 end local 9 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 62 0 pixels [I
0 62 1 grad Lcom/sun/prism/paint/Gradient;
0 62 2 xform Lcom/sun/javafx/geom/transform/BaseTransform;
0 62 3 px I
0 62 4 py I
0 62 5 pw I
0 62 6 ph I
0 62 7 bx F
0 62 8 by F
0 62 9 bw F
0 62 10 bh F
1 62 11 mgrad Lcom/sun/prism/paint/Gradient;
2 62 12 numStops I
3 62 13 fractions [F
4 62 14 colors [Lcom/sun/prism/paint/Color;
5 11 15 i I
7 9 16 stop Lcom/sun/prism/paint/Stop;
31 32 15 context Lcom/sun/prism/impl/paint/MultipleGradientContext;
60 62 15 context Lcom/sun/prism/impl/paint/MultipleGradientContext;
13 31 16 lgrad Lcom/sun/prism/paint/LinearGradient;
15 19 17 x1 F
20 31 17 x1 F
16 19 18 y1 F
21 31 18 y1 F
17 19 19 x2 F
22 31 19 x2 F
18 19 20 y2 F
23 31 20 y2 F
33 60 16 rgrad Lcom/sun/prism/paint/RadialGradient;
35 60 17 radius F
36 60 18 cx F
37 60 19 cy F
38 60 20 fa D
39 60 22 fd F
41 50 23 bcx F
42 50 24 bcy F
43 50 25 scale F
54 60 23 fx F
55 60 24 fy F
MethodParameters:
Name Flags
pixels
grad
xform
px
py
pw
ph
bx
by
bw
bh
}
SourceFile: "PaintUtil.java"
InnerClasses:
public final Type = com.sun.prism.paint.Paint$Type of com.sun.prism.paint.Paint