final class com.sun.prism.sw.SWPaint
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.prism.sw.SWPaint
super_class: java.lang.Object
{
private final com.sun.prism.sw.SWContext context;
descriptor: Lcom/sun/prism/sw/SWContext;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.pisces.PiscesRenderer pr;
descriptor: Lcom/sun/pisces/PiscesRenderer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.javafx.geom.transform.BaseTransform paintTx;
descriptor: Lcom/sun/javafx/geom/transform/BaseTransform;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.sun.pisces.Transform6 piscesTx;
descriptor: Lcom/sun/pisces/Transform6;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private float compositeAlpha;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float px;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float py;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float pw;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float ph;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private static volatile int[] $SWITCH_TABLE$com$sun$prism$paint$Paint$Type;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
void <init>(com.sun.prism.sw.SWContext, com.sun.pisces.PiscesRenderer);
descriptor: (Lcom/sun/prism/sw/SWContext;Lcom/sun/pisces/PiscesRenderer;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new com.sun.javafx.geom.transform.Affine2D
dup
invokespecial com.sun.javafx.geom.transform.Affine2D.<init>:()V
putfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
2: aload 0
new com.sun.pisces.Transform6
dup
invokespecial com.sun.pisces.Transform6.<init>:()V
putfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
3: aload 0
fconst_1
putfield com.sun.prism.sw.SWPaint.compositeAlpha:F
4: aload 0
aload 1
putfield com.sun.prism.sw.SWPaint.context:Lcom/sun/prism/sw/SWContext;
5: aload 0
aload 2
putfield com.sun.prism.sw.SWPaint.pr:Lcom/sun/pisces/PiscesRenderer;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/prism/sw/SWPaint;
0 7 1 context Lcom/sun/prism/sw/SWContext;
0 7 2 pr Lcom/sun/pisces/PiscesRenderer;
MethodParameters:
Name Flags
context
pr
float getCompositeAlpha();
descriptor: ()F
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.prism.sw.SWPaint.compositeAlpha:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/sw/SWPaint;
void setCompositeAlpha(float);
descriptor: (F)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
putfield com.sun.prism.sw.SWPaint.compositeAlpha:F
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/prism/sw/SWPaint;
0 2 1 newValue F
MethodParameters:
Name Flags
newValue
void setColor(com.sun.prism.paint.Color, float);
descriptor: (Lcom/sun/prism/paint/Color;F)V
flags: (0x0000)
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 2
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PR.setColor: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.pr:Lcom/sun/pisces/PiscesRenderer;
aload 1
invokevirtual com.sun.prism.paint.Color.getRed:()F
ldc 255.0
fmul
f2i
3: ldc 255.0
aload 1
invokevirtual com.sun.prism.paint.Color.getGreen:()F
fmul
f2i
4: ldc 255.0
aload 1
invokevirtual com.sun.prism.paint.Color.getBlue:()F
fmul
f2i
5: ldc 255.0
aload 1
invokevirtual com.sun.prism.paint.Color.getAlpha:()F
fmul
fload 2
fmul
f2i
6: invokevirtual com.sun.pisces.PiscesRenderer.setColor:(IIII)V
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/prism/sw/SWPaint;
0 8 1 c Lcom/sun/prism/paint/Color;
0 8 2 compositeAlpha F
MethodParameters:
Name Flags
c
compositeAlpha
void setPaintFromShape(com.sun.prism.paint.Paint, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.geom.Shape, com.sun.javafx.geom.RectBounds, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/Shape;Lcom/sun/javafx/geom/RectBounds;FFFF)V
flags: (0x0000)
Code:
stack=8, locals=9, args_size=9
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 0: aload 0
aload 1
aload 3
aload 4
fload 5
fload 6
fload 7
fload 8
invokevirtual com.sun.prism.sw.SWPaint.computePaintBounds:(Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/geom/Shape;Lcom/sun/javafx/geom/RectBounds;FFFF)V
1: aload 0
aload 1
aload 2
aload 0
getfield com.sun.prism.sw.SWPaint.px:F
aload 0
getfield com.sun.prism.sw.SWPaint.py:F
aload 0
getfield com.sun.prism.sw.SWPaint.pw:F
aload 0
getfield com.sun.prism.sw.SWPaint.ph:F
invokevirtual com.sun.prism.sw.SWPaint.setPaintBeforeDraw:(Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)V
2: return
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 3 0 this Lcom/sun/prism/sw/SWPaint;
0 3 1 p Lcom/sun/prism/paint/Paint;
0 3 2 tx Lcom/sun/javafx/geom/transform/BaseTransform;
0 3 3 shape Lcom/sun/javafx/geom/Shape;
0 3 4 nodeBounds Lcom/sun/javafx/geom/RectBounds;
0 3 5 localX F
0 3 6 localY F
0 3 7 localWidth F
0 3 8 localHeight F
MethodParameters:
Name Flags
p
tx
shape
nodeBounds
localX
localY
localWidth
localHeight
private void computePaintBounds(com.sun.prism.paint.Paint, com.sun.javafx.geom.Shape, com.sun.javafx.geom.RectBounds, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/geom/Shape;Lcom/sun/javafx/geom/RectBounds;FFFF)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 1
invokevirtual com.sun.prism.paint.Paint.isProportional:()Z
ifeq 19
1: aload 3
ifnull 7
2: aload 0
aload 3
invokevirtual com.sun.javafx.geom.RectBounds.getMinX:()F
putfield com.sun.prism.sw.SWPaint.px:F
3: aload 0
aload 3
invokevirtual com.sun.javafx.geom.RectBounds.getMinY:()F
putfield com.sun.prism.sw.SWPaint.py:F
4: aload 0
aload 3
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
putfield com.sun.prism.sw.SWPaint.pw:F
5: aload 0
aload 3
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
putfield com.sun.prism.sw.SWPaint.ph:F
6: goto 20
StackMap locals:
StackMap stack:
7: aload 2
ifnull 14
8: aload 2
invokevirtual com.sun.javafx.geom.Shape.getBounds:()Lcom/sun/javafx/geom/RectBounds;
astore 8
start local 8 9: aload 0
aload 8
invokevirtual com.sun.javafx.geom.RectBounds.getMinX:()F
putfield com.sun.prism.sw.SWPaint.px:F
10: aload 0
aload 8
invokevirtual com.sun.javafx.geom.RectBounds.getMinY:()F
putfield com.sun.prism.sw.SWPaint.py:F
11: aload 0
aload 8
invokevirtual com.sun.javafx.geom.RectBounds.getWidth:()F
putfield com.sun.prism.sw.SWPaint.pw:F
12: aload 0
aload 8
invokevirtual com.sun.javafx.geom.RectBounds.getHeight:()F
putfield com.sun.prism.sw.SWPaint.ph:F
end local 8 13: goto 20
14: StackMap locals:
StackMap stack:
aload 0
fload 4
putfield com.sun.prism.sw.SWPaint.px:F
15: aload 0
fload 5
putfield com.sun.prism.sw.SWPaint.py:F
16: aload 0
fload 6
putfield com.sun.prism.sw.SWPaint.pw:F
17: aload 0
fload 7
putfield com.sun.prism.sw.SWPaint.ph:F
18: goto 20
19: StackMap locals:
StackMap stack:
aload 0
aload 0
aload 0
aload 0
fconst_0
dup_x1
putfield com.sun.prism.sw.SWPaint.ph:F
dup_x1
putfield com.sun.prism.sw.SWPaint.pw:F
dup_x1
putfield com.sun.prism.sw.SWPaint.py:F
putfield com.sun.prism.sw.SWPaint.px:F
20: StackMap locals:
StackMap stack:
return
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 21 0 this Lcom/sun/prism/sw/SWPaint;
0 21 1 p Lcom/sun/prism/paint/Paint;
0 21 2 shape Lcom/sun/javafx/geom/Shape;
0 21 3 nodeBounds Lcom/sun/javafx/geom/RectBounds;
0 21 4 localX F
0 21 5 localY F
0 21 6 localWidth F
0 21 7 localHeight F
9 13 8 bounds Lcom/sun/javafx/geom/RectBounds;
MethodParameters:
Name Flags
p
shape
nodeBounds
localX
localY
localWidth
localHeight
void setPaintBeforeDraw(com.sun.prism.paint.Paint, com.sun.javafx.geom.transform.BaseTransform, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)V
flags: (0x0000)
Code:
stack=13, locals=20, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: invokestatic com.sun.prism.sw.SWPaint.$SWITCH_TABLE$com$sun$prism$paint$Paint$Type:()[I
aload 1
invokevirtual com.sun.prism.paint.Paint.getType:()Lcom/sun/prism/paint/Paint$Type;
invokevirtual com.sun.prism.paint.Paint$Type.ordinal:()I
iaload
tableswitch { // 1 - 4
1: 1
2: 3
3: 22
4: 48
default: 64
}
1: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast com.sun.prism.paint.Color
aload 0
getfield com.sun.prism.sw.SWPaint.compositeAlpha:F
invokevirtual com.sun.prism.sw.SWPaint.setColor:(Lcom/sun/prism/paint/Color;F)V
2: goto 65
3: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.prism.paint.LinearGradient
astore 7
start local 7 4: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 6
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PR.setLinearGradient: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getX1:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getY1:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getX2:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getY2:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals: com.sun.prism.paint.LinearGradient
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
7: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
invokestatic com.sun.prism.sw.SWUtils.convertToPiscesTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/pisces/Transform6;)V
8: aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getX1:()F
fstore 8
start local 8 9: aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getY1:()F
fstore 9
start local 9 10: aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getX2:()F
fstore 10
start local 10 11: aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getY2:()F
fstore 11
start local 11 12: aload 7
invokevirtual com.sun.prism.paint.LinearGradient.isProportional:()Z
ifeq 17
13: fload 3
fload 5
fload 8
fmul
fadd
fstore 8
14: fload 4
fload 6
fload 9
fmul
fadd
fstore 9
15: fload 3
fload 5
fload 10
fmul
fadd
fstore 10
16: fload 4
fload 6
fload 11
fmul
fadd
fstore 11
17: StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float com.sun.prism.paint.LinearGradient float float float float
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.pr:Lcom/sun/pisces/PiscesRenderer;
ldc 65536.0
fload 8
fmul
f2i
ldc 65536.0
fload 9
fmul
f2i
18: ldc 65536.0
fload 10
fmul
f2i
ldc 65536.0
fload 11
fmul
f2i
19: aload 7
invokestatic com.sun.prism.sw.SWPaint.getFractions:(Lcom/sun/prism/paint/Gradient;)[I
aload 7
aload 0
getfield com.sun.prism.sw.SWPaint.compositeAlpha:F
invokestatic com.sun.prism.sw.SWPaint.getARGB:(Lcom/sun/prism/paint/Gradient;F)[I
aload 7
invokevirtual com.sun.prism.paint.LinearGradient.getSpreadMethod:()I
invokestatic com.sun.prism.sw.SWPaint.getPiscesGradientCycleMethod:(I)I
aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
20: invokevirtual com.sun.pisces.PiscesRenderer.setLinearGradient:(IIII[I[IILcom/sun/pisces/Transform6;)V
21: goto 65
end local 11 end local 10 end local 9 end local 8 end local 7 22: StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float
StackMap stack:
aload 1
checkcast com.sun.prism.paint.RadialGradient
astore 12
start local 12 23: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 25
24: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PR.setRadialGradient: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getCenterX:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getCenterY:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getFocusAngle:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getFocusDistance:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getRadius:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
25: StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float top top top top top com.sun.prism.paint.RadialGradient
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
26: aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getCenterX:()F
fstore 13
start local 13 27: aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getCenterY:()F
fstore 14
start local 14 28: aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getRadius:()F
fstore 15
start local 15 29: aload 12
invokevirtual com.sun.prism.paint.RadialGradient.isProportional:()Z
ifeq 40
30: fload 5
fload 6
invokestatic java.lang.Math.min:(FF)F
fstore 16
start local 16 31: fload 3
fload 5
ldc 0.5
fmul
fadd
fstore 17
start local 17 32: fload 4
fload 6
ldc 0.5
fmul
fadd
fstore 18
start local 18 33: fload 17
fload 13
ldc 0.5
fsub
fload 16
fmul
fadd
fstore 13
34: fload 18
fload 14
ldc 0.5
fsub
fload 16
fmul
fadd
fstore 14
35: fload 15
fload 16
fmul
fstore 15
36: fload 5
fload 6
fcmpl
ifeq 40
fload 5
f2d
dconst_0
dcmpl
ifeq 40
fload 6
f2d
dconst_0
dcmpl
ifeq 40
37: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 17
f2d
fload 18
f2d
invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithTranslation:(DD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
38: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 5
fload 16
fdiv
f2d
dconst_0
dconst_0
fload 6
fload 16
fdiv
f2d
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithConcatenation:(DDDDDD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
39: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 17
fneg
f2d
fload 18
fneg
f2d
invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithTranslation:(DD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
end local 18 end local 17 end local 16 40: StackMap locals: float float float
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
invokestatic com.sun.prism.sw.SWUtils.convertToPiscesTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/pisces/Transform6;)V
41: fload 13
f2d
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getFocusDistance:()F
fload 15
fmul
f2d
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getFocusAngle:()F
f2d
invokestatic java.lang.Math.toRadians:(D)D
invokestatic java.lang.Math.cos:(D)D
dmul
dadd
d2f
fstore 16
start local 16 42: fload 14
f2d
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getFocusDistance:()F
fload 15
fmul
f2d
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getFocusAngle:()F
f2d
invokestatic java.lang.Math.toRadians:(D)D
invokestatic java.lang.Math.sin:(D)D
dmul
dadd
d2f
fstore 17
start local 17 43: aload 0
getfield com.sun.prism.sw.SWPaint.pr:Lcom/sun/pisces/PiscesRenderer;
ldc 65536.0
fload 13
fmul
f2i
ldc 65536.0
fload 14
fmul
f2i
44: ldc 65536.0
fload 16
fmul
f2i
ldc 65536.0
fload 17
fmul
f2i
ldc 65536.0
fload 15
fmul
f2i
45: aload 12
invokestatic com.sun.prism.sw.SWPaint.getFractions:(Lcom/sun/prism/paint/Gradient;)[I
aload 12
aload 0
getfield com.sun.prism.sw.SWPaint.compositeAlpha:F
invokestatic com.sun.prism.sw.SWPaint.getARGB:(Lcom/sun/prism/paint/Gradient;F)[I
aload 12
invokevirtual com.sun.prism.paint.RadialGradient.getSpreadMethod:()I
invokestatic com.sun.prism.sw.SWPaint.getPiscesGradientCycleMethod:(I)I
aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
46: invokevirtual com.sun.pisces.PiscesRenderer.setRadialGradient:(IIIII[I[IILcom/sun/pisces/Transform6;)V
47: goto 65
end local 17 end local 16 end local 15 end local 14 end local 13 end local 12 48: StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float
StackMap stack:
aload 1
checkcast com.sun.prism.paint.ImagePattern
astore 18
start local 18 49: aload 18
invokevirtual com.sun.prism.paint.ImagePattern.getImage:()Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getPixelFormat:()Lcom/sun/prism/PixelFormat;
getstatic com.sun.prism.PixelFormat.BYTE_ALPHA:Lcom/sun/prism/PixelFormat;
if_acmpne 51
50: new java.lang.UnsupportedOperationException
dup
ldc "Alpha image is not supported as an image pattern."
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
51: StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float top top top top top top top top top top top com.sun.prism.paint.ImagePattern
StackMap stack:
aload 0
aload 18
aload 2
fload 3
fload 4
fload 5
fload 6
invokevirtual com.sun.prism.sw.SWPaint.computeImagePatternTransform:(Lcom/sun/prism/paint/ImagePattern;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)V
52: aload 0
getfield com.sun.prism.sw.SWPaint.context:Lcom/sun/prism/sw/SWContext;
aload 18
invokevirtual com.sun.prism.paint.ImagePattern.getImage:()Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getWidth:()I
aload 18
invokevirtual com.sun.prism.paint.ImagePattern.getImage:()Lcom/sun/prism/Image;
invokevirtual com.sun.prism.Image.getHeight:()I
invokevirtual com.sun.prism.sw.SWContext.validateImagePaintTexture:(II)Lcom/sun/prism/sw/SWArgbPreTexture;
astore 19
start local 19 53: aload 19
aload 18
invokevirtual com.sun.prism.paint.ImagePattern.getImage:()Lcom/sun/prism/Image;
invokevirtual com.sun.prism.sw.SWArgbPreTexture.update:(Lcom/sun/prism/Image;)V
54: aload 0
getfield com.sun.prism.sw.SWPaint.compositeAlpha:F
fconst_1
fcmpg
ifge 56
55: aload 19
aload 0
getfield com.sun.prism.sw.SWPaint.compositeAlpha:F
invokevirtual com.sun.prism.sw.SWArgbPreTexture.applyCompositeAlpha:(F)V
56: StackMap locals: com.sun.prism.sw.SWArgbPreTexture
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.pr:Lcom/sun/pisces/PiscesRenderer;
iconst_1
aload 19
invokevirtual com.sun.prism.sw.SWArgbPreTexture.getDataNoClone:()[I
57: aload 19
invokevirtual com.sun.prism.sw.SWArgbPreTexture.getContentWidth:()I
aload 19
invokevirtual com.sun.prism.sw.SWArgbPreTexture.getContentHeight:()I
aload 19
invokevirtual com.sun.prism.sw.SWArgbPreTexture.getPhysicalWidth:()I
58: aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
59: aload 19
invokevirtual com.sun.prism.sw.SWArgbPreTexture.getWrapMode:()Lcom/sun/prism/Texture$WrapMode;
getstatic com.sun.prism.Texture$WrapMode.REPEAT:Lcom/sun/prism/Texture$WrapMode;
if_acmpne 60
iconst_1
goto 61
StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float top top top top top top top top top top top com.sun.prism.paint.ImagePattern com.sun.prism.sw.SWArgbPreTexture
StackMap stack: com.sun.pisces.PiscesRenderer int int[] int int int com.sun.pisces.Transform6
60: iconst_0
61: StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float top top top top top top top top top top top com.sun.prism.paint.ImagePattern com.sun.prism.sw.SWArgbPreTexture
StackMap stack: com.sun.pisces.PiscesRenderer int int[] int int int com.sun.pisces.Transform6 int
aload 19
invokevirtual com.sun.prism.sw.SWArgbPreTexture.hasAlpha:()Z
62: invokevirtual com.sun.pisces.PiscesRenderer.setTexture:(I[IIIILcom/sun/pisces/Transform6;ZZ)V
end local 19 63: goto 65
end local 18 64: StackMap locals: com.sun.prism.sw.SWPaint com.sun.prism.paint.Paint com.sun.javafx.geom.transform.BaseTransform float float float float
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Unknown paint type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.prism.paint.Paint.getType:()Lcom/sun/prism/paint/Paint$Type;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
65: StackMap locals:
StackMap stack:
return
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 66 0 this Lcom/sun/prism/sw/SWPaint;
0 66 1 p Lcom/sun/prism/paint/Paint;
0 66 2 tx Lcom/sun/javafx/geom/transform/BaseTransform;
0 66 3 x F
0 66 4 y F
0 66 5 width F
0 66 6 height F
4 22 7 lg Lcom/sun/prism/paint/LinearGradient;
9 22 8 x1 F
10 22 9 y1 F
11 22 10 x2 F
12 22 11 y2 F
23 48 12 rg Lcom/sun/prism/paint/RadialGradient;
27 48 13 cx F
28 48 14 cy F
29 48 15 r F
31 40 16 dim F
32 40 17 bcx F
33 40 18 bcy F
42 48 16 fx F
43 48 17 fy F
49 64 18 ip Lcom/sun/prism/paint/ImagePattern;
53 63 19 tex Lcom/sun/prism/sw/SWArgbPreTexture;
MethodParameters:
Name Flags
p
tx
x
y
width
height
private static int[] getARGB(com.sun.prism.paint.Gradient, float);
descriptor: (Lcom/sun/prism/paint/Gradient;F)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.prism.paint.Gradient.getNumStops:()I
istore 2
start local 2 1: iload 2
newarray 10
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 13
4: StackMap locals: int int[] int
StackMap stack:
aload 0
invokevirtual com.sun.prism.paint.Gradient.getStops:()Ljava/util/List;
iload 4
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
astore 5
start local 5 5: aload 5
invokevirtual com.sun.prism.paint.Stop.getColor:()Lcom/sun/prism/paint/Color;
astore 6
start local 6 6: ldc 255.0
aload 6
invokevirtual com.sun.prism.paint.Color.getAlpha:()F
fmul
fload 1
fmul
fstore 7
start local 7 7: aload 3
iload 4
fload 7
f2i
sipush 255
iand
bipush 24
ishl
8: fload 7
aload 6
invokevirtual com.sun.prism.paint.Color.getRed:()F
fmul
f2i
sipush 255
iand
bipush 16
ishl
iadd
9: fload 7
aload 6
invokevirtual com.sun.prism.paint.Color.getGreen:()F
fmul
f2i
sipush 255
iand
bipush 8
ishl
iadd
10: fload 7
aload 6
invokevirtual com.sun.prism.paint.Color.getBlue:()F
fmul
f2i
sipush 255
iand
iadd
11: iastore
end local 7 end local 6 end local 5 12: iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
iload 2
if_icmplt 4
end local 4 14: aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 grd Lcom/sun/prism/paint/Gradient;
0 15 1 compositeAlpha F
1 15 2 nstops I
2 15 3 argb [I
3 14 4 i I
5 12 5 stop Lcom/sun/prism/paint/Stop;
6 12 6 stopColor Lcom/sun/prism/paint/Color;
7 12 7 alpha255 F
MethodParameters:
Name Flags
grd
compositeAlpha
private static int[] getFractions(com.sun.prism.paint.Gradient);
descriptor: (Lcom/sun/prism/paint/Gradient;)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.prism.paint.Gradient.getNumStops:()I
istore 1
start local 1 1: iload 1
newarray 10
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: int int[] int
StackMap stack:
aload 0
invokevirtual com.sun.prism.paint.Gradient.getStops:()Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast com.sun.prism.paint.Stop
astore 4
start local 4 5: aload 2
iload 3
ldc 65536.0
aload 4
invokevirtual com.sun.prism.paint.Stop.getOffset:()F
fmul
f2i
iastore
end local 4 6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 1
if_icmplt 4
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 grd Lcom/sun/prism/paint/Gradient;
1 9 1 nstops I
2 9 2 fractions [I
3 8 3 i I
5 6 4 stop Lcom/sun/prism/paint/Stop;
MethodParameters:
Name Flags
grd
private static int getPiscesGradientCycleMethod(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 0 - 2
0: 1
1: 2
2: 3
default: 4
}
1: StackMap locals:
StackMap stack:
iconst_0
ireturn
2: StackMap locals:
StackMap stack:
iconst_2
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 prismCycleMethod I
MethodParameters:
Name Flags
prismCycleMethod final
com.sun.pisces.Transform6 computeDrawTexturePaintTransform(com.sun.javafx.geom.transform.BaseTransform, float, float, float, float, float, float, float, float);
descriptor: (Lcom/sun/javafx/geom/transform/BaseTransform;FFFFFFFF)Lcom/sun/pisces/Transform6;
flags: (0x0000)
Code:
stack=13, locals=12, args_size=10
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 0: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 1
invokevirtual com.sun.javafx.geom.transform.BaseTransform.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
1: aload 0
fload 2
fload 4
fload 6
fload 8
invokevirtual com.sun.prism.sw.SWPaint.computeScale:(FFFF)F
fstore 10
start local 10 2: aload 0
fload 3
fload 5
fload 7
fload 9
invokevirtual com.sun.prism.sw.SWPaint.computeScale:(FFFF)F
fstore 11
start local 11 3: fload 10
fconst_1
fcmpl
ifne 8
fload 11
fconst_1
fcmpl
ifne 8
4: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 6
fload 8
invokestatic java.lang.Math.min:(FF)F
fneg
fload 2
fload 4
invokestatic java.lang.Math.min:(FF)F
fadd
f2d
5: fload 7
fload 9
invokestatic java.lang.Math.min:(FF)F
fneg
fload 3
fload 5
invokestatic java.lang.Math.min:(FF)F
fadd
f2d
6: invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithTranslation:(DD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
7: goto 18
8: StackMap locals: float float
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 2
fload 4
invokestatic java.lang.Math.min:(FF)F
f2d
fload 3
fload 5
invokestatic java.lang.Math.min:(FF)F
f2d
invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithTranslation:(DD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
9: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 10
fconst_0
fcmpl
iflt 10
fconst_0
goto 11
StackMap locals:
StackMap stack: com.sun.javafx.geom.transform.BaseTransform
10: fload 4
fload 2
fsub
invokestatic java.lang.Math.abs:(F)F
StackMap locals: com.sun.prism.sw.SWPaint com.sun.javafx.geom.transform.BaseTransform float float float float float float float float float float
StackMap stack: com.sun.javafx.geom.transform.BaseTransform float
11: f2d
12: fload 11
fconst_0
fcmpl
iflt 13
fconst_0
goto 14
StackMap locals: com.sun.prism.sw.SWPaint com.sun.javafx.geom.transform.BaseTransform float float float float float float float float float float
StackMap stack: com.sun.javafx.geom.transform.BaseTransform double
13: fload 5
fload 3
fsub
invokestatic java.lang.Math.abs:(F)F
StackMap locals: com.sun.prism.sw.SWPaint com.sun.javafx.geom.transform.BaseTransform float float float float float float float float float float
StackMap stack: com.sun.javafx.geom.transform.BaseTransform double float
14: f2d
15: invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithTranslation:(DD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
16: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 10
f2d
dconst_0
dconst_0
fload 11
f2d
dconst_0
dconst_0
invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithConcatenation:(DDDDDD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
17: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 6
fload 8
invokestatic java.lang.Math.min:(FF)F
fneg
f2d
fload 7
fload 9
invokestatic java.lang.Math.min:(FF)F
fneg
f2d
invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithTranslation:(DD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
18: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
invokestatic com.sun.prism.sw.SWUtils.convertToPiscesTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/pisces/Transform6;)V
19: aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
areturn
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 20 0 this Lcom/sun/prism/sw/SWPaint;
0 20 1 tx Lcom/sun/javafx/geom/transform/BaseTransform;
0 20 2 dx1 F
0 20 3 dy1 F
0 20 4 dx2 F
0 20 5 dy2 F
0 20 6 sx1 F
0 20 7 sy1 F
0 20 8 sx2 F
0 20 9 sy2 F
2 20 10 scaleX F
3 20 11 scaleY F
MethodParameters:
Name Flags
tx
dx1
dy1
dx2
dy2
sx1
sy1
sx2
sy2
private float computeScale(float, float, float, float);
descriptor: (FFFF)F
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: fload 2
fload 1
fsub
fstore 5
start local 5 1: fload 5
fload 4
fload 3
fsub
fdiv
fstore 6
start local 6 2: fload 6
invokestatic java.lang.Math.abs:(F)F
ldc 32767.0
fcmpl
ifle 4
3: fload 6
invokestatic java.lang.Math.signum:(F)F
ldc 32767.0
fmul
fstore 6
4: StackMap locals: float float
StackMap stack:
fload 6
freturn
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 5 0 this Lcom/sun/prism/sw/SWPaint;
0 5 1 dv1 F
0 5 2 dv2 F
0 5 3 sv1 F
0 5 4 sv2 F
1 5 5 dv_diff F
2 5 6 scale F
MethodParameters:
Name Flags
dv1
dv2
sv1
sv2
com.sun.pisces.Transform6 computeSetTexturePaintTransform(com.sun.prism.paint.Paint, com.sun.javafx.geom.transform.BaseTransform, com.sun.javafx.geom.RectBounds, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/javafx/geom/RectBounds;FFFF)Lcom/sun/pisces/Transform6;
flags: (0x0000)
Code:
stack=8, locals=9, args_size=8
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 0: aload 0
aload 1
aconst_null
aload 3
fload 4
fload 5
fload 6
fload 7
invokevirtual com.sun.prism.sw.SWPaint.computePaintBounds:(Lcom/sun/prism/paint/Paint;Lcom/sun/javafx/geom/Shape;Lcom/sun/javafx/geom/RectBounds;FFFF)V
1: aload 1
checkcast com.sun.prism.paint.ImagePattern
astore 8
start local 8 2: aload 0
aload 8
aload 2
aload 0
getfield com.sun.prism.sw.SWPaint.px:F
aload 0
getfield com.sun.prism.sw.SWPaint.py:F
aload 0
getfield com.sun.prism.sw.SWPaint.pw:F
aload 0
getfield com.sun.prism.sw.SWPaint.ph:F
invokevirtual com.sun.prism.sw.SWPaint.computeImagePatternTransform:(Lcom/sun/prism/paint/ImagePattern;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)V
3: aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
areturn
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 4 0 this Lcom/sun/prism/sw/SWPaint;
0 4 1 p Lcom/sun/prism/paint/Paint;
0 4 2 tx Lcom/sun/javafx/geom/transform/BaseTransform;
0 4 3 nodeBounds Lcom/sun/javafx/geom/RectBounds;
0 4 4 localX F
0 4 5 localY F
0 4 6 localWidth F
0 4 7 localHeight F
2 4 8 ip Lcom/sun/prism/paint/ImagePattern;
MethodParameters:
Name Flags
p
tx
nodeBounds
localX
localY
localWidth
localHeight
private void computeImagePatternTransform(com.sun.prism.paint.ImagePattern, com.sun.javafx.geom.transform.BaseTransform, float, float, float, float);
descriptor: (Lcom/sun/prism/paint/ImagePattern;Lcom/sun/javafx/geom/transform/BaseTransform;FFFF)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=14, locals=8, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getImage:()Lcom/sun/prism/Image;
astore 7
start local 7 1: getstatic com.sun.prism.impl.PrismSettings.debug:Z
ifeq 6
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "PR.setTexturePaint: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "imagePattern: x: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getX:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", y: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getY:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
4: ldc ", w: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getWidth:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", h: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getHeight:()F
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
ldc ", proportional: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.isProportional:()Z
invokevirtual java.lang.StringBuilder.append:(Z)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: StackMap locals: com.sun.prism.Image
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 2
invokevirtual com.sun.javafx.geom.transform.BaseTransform.setTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;)V
7: aload 1
invokevirtual com.sun.prism.paint.ImagePattern.isProportional:()Z
ifeq 13
8: aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
fload 5
aload 7
invokevirtual com.sun.prism.Image.getWidth:()I
i2f
fdiv
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getWidth:()F
fmul
f2d
dconst_0
9: dconst_0
fload 6
aload 7
invokevirtual com.sun.prism.Image.getHeight:()I
i2f
fdiv
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getHeight:()F
fmul
f2d
10: fload 3
fload 5
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getX:()F
fmul
fadd
f2d
fload 4
fload 6
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getY:()F
fmul
fadd
f2d
11: invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithConcatenation:(DDDDDD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
12: goto 17
13: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getWidth:()F
aload 7
invokevirtual com.sun.prism.Image.getWidth:()I
i2f
fdiv
f2d
dconst_0
14: dconst_0
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getHeight:()F
aload 7
invokevirtual com.sun.prism.Image.getHeight:()I
i2f
fdiv
f2d
15: fload 3
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getX:()F
fadd
f2d
fload 4
aload 1
invokevirtual com.sun.prism.paint.ImagePattern.getY:()F
fadd
f2d
16: invokevirtual com.sun.javafx.geom.transform.BaseTransform.deriveWithConcatenation:(DDDDDD)Lcom/sun/javafx/geom/transform/BaseTransform;
pop
17: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.prism.sw.SWPaint.paintTx:Lcom/sun/javafx/geom/transform/BaseTransform;
aload 0
getfield com.sun.prism.sw.SWPaint.piscesTx:Lcom/sun/pisces/Transform6;
invokestatic com.sun.prism.sw.SWUtils.convertToPiscesTransform:(Lcom/sun/javafx/geom/transform/BaseTransform;Lcom/sun/pisces/Transform6;)V
18: return
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 19 0 this Lcom/sun/prism/sw/SWPaint;
0 19 1 ip Lcom/sun/prism/paint/ImagePattern;
0 19 2 tx Lcom/sun/javafx/geom/transform/BaseTransform;
0 19 3 x F
0 19 4 y F
0 19 5 width F
0 19 6 height F
1 19 7 image Lcom/sun/prism/Image;
MethodParameters:
Name Flags
ip
tx
x
y
width
height
static int[] $SWITCH_TABLE$com$sun$prism$paint$Paint$Type();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic com.sun.prism.sw.SWPaint.$SWITCH_TABLE$com$sun$prism$paint$Paint$Type:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic com.sun.prism.paint.Paint$Type.values:()[Lcom/sun/prism/paint/Paint$Type;
arraylength
newarray 10
astore 0
2: aload 0
getstatic com.sun.prism.paint.Paint$Type.COLOR:Lcom/sun/prism/paint/Paint$Type;
invokevirtual com.sun.prism.paint.Paint$Type.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.prism.paint.Paint$Type.IMAGE_PATTERN:Lcom/sun/prism/paint/Paint$Type;
invokevirtual com.sun.prism.paint.Paint$Type.ordinal:()I
iconst_4
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic com.sun.prism.paint.Paint$Type.LINEAR_GRADIENT:Lcom/sun/prism/paint/Paint$Type;
invokevirtual com.sun.prism.paint.Paint$Type.ordinal:()I
iconst_2
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
getstatic com.sun.prism.paint.Paint$Type.RADIAL_GRADIENT:Lcom/sun/prism/paint/Paint$Type;
invokevirtual com.sun.prism.paint.Paint$Type.ordinal:()I
iconst_3
iastore
12: goto 14
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
13: pop
StackMap locals:
StackMap stack:
14: aload 0
dup
putstatic com.sun.prism.sw.SWPaint.$SWITCH_TABLE$com$sun$prism$paint$Paint$Type:[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
11 12 13 Class java.lang.NoSuchFieldError
}
SourceFile: "SWPaint.java"
InnerClasses:
public final WrapMode = com.sun.prism.Texture$WrapMode of com.sun.prism.Texture
public final Type = com.sun.prism.paint.Paint$Type of com.sun.prism.paint.Paint