class sun.java2d.xr.XRPaints$XRLinearGradient extends sun.java2d.xr.XRPaints
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.java2d.xr.XRPaints$XRLinearGradient
super_class: sun.java2d.xr.XRPaints
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
0: .line 129
aload 0 /* this */
invokespecial sun.java2d.xr.XRPaints.<init>:()V
return
end local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRPaints$XRLinearGradient;
boolean isPaintValid(sun.java2d.SunGraphics2D);
descriptor: (Lsun/java2d/SunGraphics2D;)Z
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
start local 1 // sun.java2d.SunGraphics2D sg2d
0: .line 133
aload 1 /* sg2d */
invokevirtual sun.java2d.SunGraphics2D.getPaint:()Ljava/awt/Paint;
checkcast java.awt.LinearGradientPaint
astore 2 /* paint */
start local 2 // java.awt.LinearGradientPaint paint
1: .line 135
aload 2 /* paint */
invokevirtual java.awt.LinearGradientPaint.getColorSpace:()Ljava/awt/MultipleGradientPaint$ColorSpaceType;
getstatic java.awt.MultipleGradientPaint$ColorSpaceType.SRGB:Ljava/awt/MultipleGradientPaint$ColorSpaceType;
if_acmpne 6
2: .line 136
aload 2 /* paint */
invokevirtual java.awt.LinearGradientPaint.getStartPoint:()Ljava/awt/geom/Point2D;
invokestatic sun.java2d.xr.XRUtils.isPointCoordInShortRange:(Ljava/awt/geom/Point2D;)Z
ifeq 6
3: .line 137
aload 2 /* paint */
invokevirtual java.awt.LinearGradientPaint.getEndPoint:()Ljava/awt/geom/Point2D;
invokestatic sun.java2d.xr.XRUtils.isPointCoordInShortRange:(Ljava/awt/geom/Point2D;)Z
ifeq 6
4: .line 138
aload 2 /* paint */
invokevirtual java.awt.LinearGradientPaint.getTransform:()Ljava/awt/geom/AffineTransform;
invokevirtual java.awt.geom.AffineTransform.getDeterminant:()D
dconst_0
dcmpl
ifeq 6
5: .line 135
iconst_1
ireturn
StackMap locals: java.awt.LinearGradientPaint
StackMap stack:
6: iconst_0
ireturn
end local 2 // java.awt.LinearGradientPaint paint
end local 1 // sun.java2d.SunGraphics2D sg2d
end local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/xr/XRPaints$XRLinearGradient;
0 7 1 sg2d Lsun/java2d/SunGraphics2D;
1 7 2 paint Ljava/awt/LinearGradientPaint;
MethodParameters:
Name Flags
sg2d
void setXRPaint(sun.java2d.SunGraphics2D, java.awt.Paint);
descriptor: (Lsun/java2d/SunGraphics2D;Ljava/awt/Paint;)V
flags: (0x0000)
Code:
stack=6, locals=14, args_size=3
start local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
start local 1 // sun.java2d.SunGraphics2D sg2d
start local 2 // java.awt.Paint pt
0: .line 143
aload 2 /* pt */
checkcast java.awt.LinearGradientPaint
astore 3 /* paint */
start local 3 // java.awt.LinearGradientPaint paint
1: .line 144
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getColors:()[Ljava/awt/Color;
astore 4 /* colors */
start local 4 // java.awt.Color[] colors
2: .line 145
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getStartPoint:()Ljava/awt/geom/Point2D;
astore 5 /* pt1 */
start local 5 // java.awt.geom.Point2D pt1
3: .line 146
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getEndPoint:()Ljava/awt/geom/Point2D;
astore 6 /* pt2 */
start local 6 // java.awt.geom.Point2D pt2
4: .line 147
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getCycleMethod:()Ljava/awt/MultipleGradientPaint$CycleMethod;
invokestatic sun.java2d.xr.XRUtils.getRepeatForCycleMethod:(Ljava/awt/MultipleGradientPaint$CycleMethod;)I
istore 7 /* repeat */
start local 7 // int repeat
5: .line 148
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getFractions:()[F
astore 8 /* fractions */
start local 8 // float[] fractions
6: .line 149
aload 0 /* this */
aload 4 /* colors */
invokevirtual sun.java2d.xr.XRPaints$XRLinearGradient.convertToIntArgbPixels:([Ljava/awt/Color;)[I
astore 9 /* pixels */
start local 9 // int[] pixels
7: .line 150
aload 3 /* paint */
invokevirtual java.awt.LinearGradientPaint.getTransform:()Ljava/awt/geom/AffineTransform;
astore 10 /* at */
start local 10 // java.awt.geom.AffineTransform at
8: .line 153
aload 10 /* at */
invokevirtual java.awt.geom.AffineTransform.invert:()V
9: .line 154
goto 12
StackMap locals: sun.java2d.xr.XRPaints$XRLinearGradient sun.java2d.SunGraphics2D java.awt.Paint java.awt.LinearGradientPaint java.awt.Color[] java.awt.geom.Point2D java.awt.geom.Point2D int float[] int[] java.awt.geom.AffineTransform
StackMap stack: java.awt.geom.NoninvertibleTransformException
10: astore 11 /* ex */
start local 11 // java.awt.geom.NoninvertibleTransformException ex
11: .line 155
aload 11 /* ex */
invokevirtual java.awt.geom.NoninvertibleTransformException.printStackTrace:()V
end local 11 // java.awt.geom.NoninvertibleTransformException ex
12: .line 158
StackMap locals:
StackMap stack:
getstatic sun.java2d.xr.XRPaints$XRLinearGradient.xrCompMan:Lsun/java2d/xr/XRCompositeManager;
invokevirtual sun.java2d.xr.XRCompositeManager.getBackend:()Lsun/java2d/xr/XRBackend;
astore 11 /* con */
start local 11 // sun.java2d.xr.XRBackend con
13: .line 159
aload 11 /* con */
aload 5 /* pt1 */
aload 6 /* pt2 */
aload 8 /* fractions */
aload 9 /* pixels */
iload 7 /* repeat */
invokeinterface sun.java2d.xr.XRBackend.createLinearGradient:(Ljava/awt/geom/Point2D;Ljava/awt/geom/Point2D;[F[II)I
istore 12 /* gradient */
start local 12 // int gradient
14: .line 160
new sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData
dup
aload 11 /* con */
iload 12 /* gradient */
invokespecial sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData.<init>:(Lsun/java2d/xr/XRBackend;I)V
astore 13 /* x11sd */
start local 13 // sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData x11sd
15: .line 161
aload 13 /* x11sd */
aload 10 /* at */
invokevirtual sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData.setStaticSrcTx:(Ljava/awt/geom/AffineTransform;)V
16: .line 162
getstatic sun.java2d.xr.XRPaints$XRLinearGradient.xrCompMan:Lsun/java2d/xr/XRCompositeManager;
aload 13 /* x11sd */
invokevirtual sun.java2d.xr.XRCompositeManager.setGradientPaint:(Lsun/java2d/xr/XRSurfaceData;)V
17: .line 163
return
end local 13 // sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData x11sd
end local 12 // int gradient
end local 11 // sun.java2d.xr.XRBackend con
end local 10 // java.awt.geom.AffineTransform at
end local 9 // int[] pixels
end local 8 // float[] fractions
end local 7 // int repeat
end local 6 // java.awt.geom.Point2D pt2
end local 5 // java.awt.geom.Point2D pt1
end local 4 // java.awt.Color[] colors
end local 3 // java.awt.LinearGradientPaint paint
end local 2 // java.awt.Paint pt
end local 1 // sun.java2d.SunGraphics2D sg2d
end local 0 // sun.java2d.xr.XRPaints$XRLinearGradient this
LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/java2d/xr/XRPaints$XRLinearGradient;
0 18 1 sg2d Lsun/java2d/SunGraphics2D;
0 18 2 pt Ljava/awt/Paint;
1 18 3 paint Ljava/awt/LinearGradientPaint;
2 18 4 colors [Ljava/awt/Color;
3 18 5 pt1 Ljava/awt/geom/Point2D;
4 18 6 pt2 Ljava/awt/geom/Point2D;
5 18 7 repeat I
6 18 8 fractions [F
7 18 9 pixels [I
8 18 10 at Ljava/awt/geom/AffineTransform;
11 12 11 ex Ljava/awt/geom/NoninvertibleTransformException;
13 18 11 con Lsun/java2d/xr/XRBackend;
14 18 12 gradient I
15 18 13 x11sd Lsun/java2d/xr/XRSurfaceData$XRInternalSurfaceData;
Exception table:
from to target type
8 9 10 Class java.awt.geom.NoninvertibleTransformException
MethodParameters:
Name Flags
sg2d
pt
}
SourceFile: "XRPaints.java"
NestHost: sun.java2d.xr.XRPaints
InnerClasses:
public final ColorSpaceType = java.awt.MultipleGradientPaint$ColorSpaceType of java.awt.MultipleGradientPaint
public final CycleMethod = java.awt.MultipleGradientPaint$CycleMethod of java.awt.MultipleGradientPaint
private XRLinearGradient = sun.java2d.xr.XRPaints$XRLinearGradient of sun.java2d.xr.XRPaints
public XRInternalSurfaceData = sun.java2d.xr.XRSurfaceData$XRInternalSurfaceData of sun.java2d.xr.XRSurfaceData