final class com.sun.prism.impl.paint.LinearGradientContext extends com.sun.prism.impl.paint.MultipleGradientContext
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.prism.impl.paint.LinearGradientContext
super_class: com.sun.prism.impl.paint.MultipleGradientContext
{
private float dgdX;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float dgdY;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float gc;
descriptor: F
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.prism.paint.LinearGradient, com.sun.javafx.geom.transform.BaseTransform, float, float, float, float, float[], com.sun.prism.paint.Color[], int);
descriptor: (Lcom/sun/prism/paint/LinearGradient;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF[F[Lcom/sun/prism/paint/Color;I)V
flags: (0x0000)
Code:
stack=6, locals=15, args_size=10
start local 0 // com.sun.prism.impl.paint.LinearGradientContext this
start local 1 // com.sun.prism.paint.LinearGradient paint
start local 2 // com.sun.javafx.geom.transform.BaseTransform t
start local 3 // float startx
start local 4 // float starty
start local 5 // float endx
start local 6 // float endy
start local 7 // float[] fractions
start local 8 // com.sun.prism.paint.Color[] colors
start local 9 // int cycleMethod
0: .line 71
aload 0 /* this */
aload 1 /* paint */
aload 2 /* t */
aload 7 /* fractions */
aload 8 /* colors */
iload 9 /* cycleMethod */
invokespecial com.sun.prism.impl.paint.MultipleGradientContext.<init>:(Lcom/sun/prism/paint/Gradient;Lcom/sun/javafx/geom/transform/BaseTransform;[F[Lcom/sun/prism/paint/Color;I)V
1: .line 83
fload 5 /* endx */
fload 3 /* startx */
fsub
fstore 10 /* dx */
start local 10 // float dx
2: .line 84
fload 6 /* endy */
fload 4 /* starty */
fsub
fstore 11 /* dy */
start local 11 // float dy
3: .line 85
fload 10 /* dx */
fload 10 /* dx */
fmul
fload 11 /* dy */
fload 11 /* dy */
fmul
fadd
fstore 12 /* dSq */
start local 12 // float dSq
4: .line 88
fload 10 /* dx */
fload 12 /* dSq */
fdiv
fstore 13 /* constX */
start local 13 // float constX
5: .line 89
fload 11 /* dy */
fload 12 /* dSq */
fdiv
fstore 14 /* constY */
start local 14 // float constY
6: .line 92
aload 0 /* this */
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.a00:F
fload 13 /* constX */
fmul
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.a10:F
fload 14 /* constY */
fmul
fadd
putfield com.sun.prism.impl.paint.LinearGradientContext.dgdX:F
7: .line 94
aload 0 /* this */
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.a01:F
fload 13 /* constX */
fmul
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.a11:F
fload 14 /* constY */
fmul
fadd
putfield com.sun.prism.impl.paint.LinearGradientContext.dgdY:F
8: .line 97
aload 0 /* this */
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.a02:F
fload 3 /* startx */
fsub
fload 13 /* constX */
fmul
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.a12:F
fload 4 /* starty */
fsub
fload 14 /* constY */
fmul
fadd
putfield com.sun.prism.impl.paint.LinearGradientContext.gc:F
9: .line 98
return
end local 14 // float constY
end local 13 // float constX
end local 12 // float dSq
end local 11 // float dy
end local 10 // float dx
end local 9 // int cycleMethod
end local 8 // com.sun.prism.paint.Color[] colors
end local 7 // float[] fractions
end local 6 // float endy
end local 5 // float endx
end local 4 // float starty
end local 3 // float startx
end local 2 // com.sun.javafx.geom.transform.BaseTransform t
end local 1 // com.sun.prism.paint.LinearGradient paint
end local 0 // com.sun.prism.impl.paint.LinearGradientContext this
LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/prism/impl/paint/LinearGradientContext;
0 10 1 paint Lcom/sun/prism/paint/LinearGradient;
0 10 2 t Lcom/sun/javafx/geom/transform/BaseTransform;
0 10 3 startx F
0 10 4 starty F
0 10 5 endx F
0 10 6 endy F
0 10 7 fractions [F
0 10 8 colors [Lcom/sun/prism/paint/Color;
0 10 9 cycleMethod I
2 10 10 dx F
3 10 11 dy F
4 10 12 dSq F
5 10 13 constX F
6 10 14 constY F
MethodParameters:
Name Flags
paint
t
startx
starty
endx
endy
fractions
colors
cycleMethod
protected void fillRaster(int[], int, int, int, int, int, int);
descriptor: ([IIIIIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=12, args_size=8
start local 0 // com.sun.prism.impl.paint.LinearGradientContext this
start local 1 // int[] pixels
start local 2 // int off
start local 3 // int adjust
start local 4 // int x
start local 5 // int y
start local 6 // int w
start local 7 // int h
0: .line 112
fconst_0
fstore 8 /* g */
start local 8 // float g
1: .line 115
iload 2 /* off */
iload 6 /* w */
iadd
istore 9 /* rowLimit */
start local 9 // int rowLimit
2: .line 118
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.dgdX:F
iload 4 /* x */
i2f
fmul
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.gc:F
fadd
fstore 10 /* initConst */
start local 10 // float initConst
3: .line 120
iconst_0
istore 11 /* i */
start local 11 // int i
4: goto 13
5: .line 123
StackMap locals: com.sun.prism.impl.paint.LinearGradientContext int[] int int int int int int float int float int
StackMap stack:
fload 10 /* initConst */
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.dgdY:F
iload 5 /* y */
iload 11 /* i */
iadd
i2f
fmul
fadd
fstore 8 /* g */
6: .line 125
goto 9
7: .line 127
StackMap locals:
StackMap stack:
aload 1 /* pixels */
iload 2 /* off */
iinc 2 /* off */ 1
aload 0 /* this */
fload 8 /* g */
invokevirtual com.sun.prism.impl.paint.LinearGradientContext.indexIntoGradientsArrays:(F)I
iastore
8: .line 130
fload 8 /* g */
aload 0 /* this */
getfield com.sun.prism.impl.paint.LinearGradientContext.dgdX:F
fadd
fstore 8 /* g */
9: .line 125
StackMap locals:
StackMap stack:
iload 2 /* off */
iload 9 /* rowLimit */
if_icmplt 7
10: .line 134
iload 2 /* off */
iload 3 /* adjust */
iadd
istore 2 /* off */
11: .line 137
iload 2 /* off */
iload 6 /* w */
iadd
istore 9 /* rowLimit */
12: .line 120
iinc 11 /* i */ 1
StackMap locals:
StackMap stack:
13: iload 11 /* i */
iload 7 /* h */
if_icmplt 5
end local 11 // int i
14: .line 139
return
end local 10 // float initConst
end local 9 // int rowLimit
end local 8 // float g
end local 7 // int h
end local 6 // int w
end local 5 // int y
end local 4 // int x
end local 3 // int adjust
end local 2 // int off
end local 1 // int[] pixels
end local 0 // com.sun.prism.impl.paint.LinearGradientContext this
LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/sun/prism/impl/paint/LinearGradientContext;
0 15 1 pixels [I
0 15 2 off I
0 15 3 adjust I
0 15 4 x I
0 15 5 y I
0 15 6 w I
0 15 7 h I
1 15 8 g F
2 15 9 rowLimit I
3 15 10 initConst F
4 14 11 i I
MethodParameters:
Name Flags
pixels
off
adjust
x
y
w
h
}
SourceFile: "LinearGradientContext.java"