class sun.java2d.xr.XRPaints$XRTexture extends sun.java2d.xr.XRPaints
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.java2d.xr.XRPaints$XRTexture
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$XRTexture this
0: .line 233
aload 0 /* this */
invokespecial sun.java2d.xr.XRPaints.<init>:()V
return
end local 0 // sun.java2d.xr.XRPaints$XRTexture this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/java2d/xr/XRPaints$XRTexture;
boolean isPaintValid(sun.java2d.SunGraphics2D);
descriptor: (Lsun/java2d/SunGraphics2D;)Z
flags: (0x0000)
Code:
stack=5, locals=6, args_size=2
start local 0 // sun.java2d.xr.XRPaints$XRTexture this
start local 1 // sun.java2d.SunGraphics2D sg2d
0: .line 237
aload 1 /* sg2d */
getfield sun.java2d.SunGraphics2D.paint:Ljava/awt/Paint;
checkcast java.awt.TexturePaint
astore 2 /* paint */
start local 2 // java.awt.TexturePaint paint
1: .line 238
aload 2 /* paint */
invokevirtual java.awt.TexturePaint.getImage:()Ljava/awt/image/BufferedImage;
astore 3 /* bi */
start local 3 // java.awt.image.BufferedImage bi
2: .line 239
aload 1 /* sg2d */
invokevirtual sun.java2d.SunGraphics2D.getDestSurface:()Lsun/java2d/Surface;
checkcast sun.java2d.xr.XRSurfaceData
astore 4 /* dstData */
start local 4 // sun.java2d.xr.XRSurfaceData dstData
3: .line 241
aload 4 /* dstData */
aload 3 /* bi */
iconst_0
getstatic sun.java2d.loops.CompositeType.SrcOver:Lsun/java2d/loops/CompositeType;
aconst_null
invokevirtual sun.java2d.xr.XRSurfaceData.getSourceSurfaceData:(Ljava/awt/Image;ILsun/java2d/loops/CompositeType;Ljava/awt/Color;)Lsun/java2d/SurfaceData;
astore 5 /* srcData */
start local 5 // sun.java2d.SurfaceData srcData
4: .line 242
aload 5 /* srcData */
instanceof sun.java2d.xr.XRSurfaceData
ifne 8
5: .line 246
aload 4 /* dstData */
aload 3 /* bi */
iconst_0
getstatic sun.java2d.loops.CompositeType.SrcOver:Lsun/java2d/loops/CompositeType;
aconst_null
invokevirtual sun.java2d.xr.XRSurfaceData.getSourceSurfaceData:(Ljava/awt/Image;ILsun/java2d/loops/CompositeType;Ljava/awt/Color;)Lsun/java2d/SurfaceData;
astore 5 /* srcData */
6: .line 247
aload 5 /* srcData */
instanceof sun.java2d.xr.XRSurfaceData
ifne 8
7: .line 248
iconst_0
ireturn
8: .line 252
StackMap locals: sun.java2d.xr.XRPaints$XRTexture sun.java2d.SunGraphics2D java.awt.TexturePaint java.awt.image.BufferedImage sun.java2d.xr.XRSurfaceData sun.java2d.SurfaceData
StackMap stack:
iconst_1
ireturn
end local 5 // sun.java2d.SurfaceData srcData
end local 4 // sun.java2d.xr.XRSurfaceData dstData
end local 3 // java.awt.image.BufferedImage bi
end local 2 // java.awt.TexturePaint paint
end local 1 // sun.java2d.SunGraphics2D sg2d
end local 0 // sun.java2d.xr.XRPaints$XRTexture this
LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/java2d/xr/XRPaints$XRTexture;
0 9 1 sg2d Lsun/java2d/SunGraphics2D;
1 9 2 paint Ljava/awt/TexturePaint;
2 9 3 bi Ljava/awt/image/BufferedImage;
3 9 4 dstData Lsun/java2d/xr/XRSurfaceData;
4 9 5 srcData Lsun/java2d/SurfaceData;
MethodParameters:
Name Flags
sg2d
void setXRPaint(sun.java2d.SunGraphics2D, java.awt.Paint);
descriptor: (Lsun/java2d/SunGraphics2D;Ljava/awt/Paint;)V
flags: (0x0000)
Code:
stack=7, locals=10, args_size=3
start local 0 // sun.java2d.xr.XRPaints$XRTexture this
start local 1 // sun.java2d.SunGraphics2D sg2d
start local 2 // java.awt.Paint pt
0: .line 257
aload 2 /* pt */
checkcast java.awt.TexturePaint
astore 3 /* paint */
start local 3 // java.awt.TexturePaint paint
1: .line 259
aload 3 /* paint */
invokevirtual java.awt.TexturePaint.getImage:()Ljava/awt/image/BufferedImage;
astore 4 /* bi */
start local 4 // java.awt.image.BufferedImage bi
2: .line 260
aload 1 /* sg2d */
getfield sun.java2d.SunGraphics2D.surfaceData:Lsun/java2d/SurfaceData;
astore 5 /* dstData */
start local 5 // sun.java2d.SurfaceData dstData
3: .line 261
aload 5 /* dstData */
aload 4 /* bi */
iconst_0
getstatic sun.java2d.loops.CompositeType.SrcOver:Lsun/java2d/loops/CompositeType;
aconst_null
invokevirtual sun.java2d.SurfaceData.getSourceSurfaceData:(Ljava/awt/Image;ILsun/java2d/loops/CompositeType;Ljava/awt/Color;)Lsun/java2d/SurfaceData;
astore 6 /* srcData */
start local 6 // sun.java2d.SurfaceData srcData
4: .line 264
aload 6 /* srcData */
instanceof sun.java2d.xr.XRSurfaceData
ifne 8
5: .line 265
aload 5 /* dstData */
aload 3 /* paint */
invokevirtual java.awt.TexturePaint.getImage:()Ljava/awt/image/BufferedImage;
iconst_0
getstatic sun.java2d.loops.CompositeType.SrcOver:Lsun/java2d/loops/CompositeType;
aconst_null
invokevirtual sun.java2d.SurfaceData.getSourceSurfaceData:(Ljava/awt/Image;ILsun/java2d/loops/CompositeType;Ljava/awt/Color;)Lsun/java2d/SurfaceData;
astore 6 /* srcData */
6: .line 266
aload 6 /* srcData */
instanceof sun.java2d.xr.XRSurfaceData
ifne 8
7: .line 267
new java.lang.InternalError
dup
ldc "Surface not cachable"
invokespecial java.lang.InternalError.<init>:(Ljava/lang/String;)V
athrow
8: .line 271
StackMap locals: sun.java2d.xr.XRPaints$XRTexture sun.java2d.SunGraphics2D java.awt.Paint java.awt.TexturePaint java.awt.image.BufferedImage sun.java2d.SurfaceData sun.java2d.SurfaceData
StackMap stack:
aload 6 /* srcData */
checkcast sun.java2d.xr.XRSurfaceData
astore 7 /* x11SrcData */
start local 7 // sun.java2d.xr.XRSurfaceData x11SrcData
9: .line 273
aload 1 /* sg2d */
getfield sun.java2d.SunGraphics2D.transform:Ljava/awt/geom/AffineTransform;
invokevirtual java.awt.geom.AffineTransform.clone:()Ljava/lang/Object;
checkcast java.awt.geom.AffineTransform
astore 8 /* at */
start local 8 // java.awt.geom.AffineTransform at
10: .line 274
aload 3 /* paint */
invokevirtual java.awt.TexturePaint.getAnchorRect:()Ljava/awt/geom/Rectangle2D;
astore 9 /* anchor */
start local 9 // java.awt.geom.Rectangle2D anchor
11: .line 275
aload 8 /* at */
aload 9 /* anchor */
invokevirtual java.awt.geom.Rectangle2D.getX:()D
aload 9 /* anchor */
invokevirtual java.awt.geom.Rectangle2D.getY:()D
invokevirtual java.awt.geom.AffineTransform.translate:(DD)V
12: .line 276
aload 8 /* at */
aload 9 /* anchor */
invokevirtual java.awt.geom.Rectangle2D.getWidth:()D
aload 4 /* bi */
invokevirtual java.awt.image.BufferedImage.getWidth:()I
i2d
ddiv
aload 9 /* anchor */
invokevirtual java.awt.geom.Rectangle2D.getHeight:()D
aload 4 /* bi */
invokevirtual java.awt.image.BufferedImage.getHeight:()I
i2d
ddiv
invokevirtual java.awt.geom.AffineTransform.scale:(DD)V
13: .line 279
aload 8 /* at */
invokevirtual java.awt.geom.AffineTransform.invert:()V
14: .line 280
goto 17
StackMap locals: sun.java2d.xr.XRPaints$XRTexture sun.java2d.SunGraphics2D java.awt.Paint java.awt.TexturePaint java.awt.image.BufferedImage sun.java2d.SurfaceData sun.java2d.SurfaceData sun.java2d.xr.XRSurfaceData java.awt.geom.AffineTransform java.awt.geom.Rectangle2D
StackMap stack: java.awt.geom.NoninvertibleTransformException
15: pop
16: .line 281
aload 8 /* at */
invokevirtual java.awt.geom.AffineTransform.setToIdentity:()V
17: .line 284
StackMap locals:
StackMap stack:
aload 7 /* x11SrcData */
aload 8 /* at */
iconst_1
aload 1 /* sg2d */
getfield sun.java2d.SunGraphics2D.interpolationType:I
invokestatic sun.java2d.xr.XRUtils.ATransOpToXRQuality:(I)I
invokevirtual sun.java2d.xr.XRSurfaceData.validateAsSource:(Ljava/awt/geom/AffineTransform;II)V
18: .line 285
getstatic sun.java2d.xr.XRPaints$XRTexture.xrCompMan:Lsun/java2d/xr/XRCompositeManager;
aload 6 /* srcData */
checkcast sun.java2d.xr.XRSurfaceData
invokevirtual sun.java2d.xr.XRCompositeManager.setTexturePaint:(Lsun/java2d/xr/XRSurfaceData;)V
19: .line 286
return
end local 9 // java.awt.geom.Rectangle2D anchor
end local 8 // java.awt.geom.AffineTransform at
end local 7 // sun.java2d.xr.XRSurfaceData x11SrcData
end local 6 // sun.java2d.SurfaceData srcData
end local 5 // sun.java2d.SurfaceData dstData
end local 4 // java.awt.image.BufferedImage bi
end local 3 // java.awt.TexturePaint paint
end local 2 // java.awt.Paint pt
end local 1 // sun.java2d.SunGraphics2D sg2d
end local 0 // sun.java2d.xr.XRPaints$XRTexture this
LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/java2d/xr/XRPaints$XRTexture;
0 20 1 sg2d Lsun/java2d/SunGraphics2D;
0 20 2 pt Ljava/awt/Paint;
1 20 3 paint Ljava/awt/TexturePaint;
2 20 4 bi Ljava/awt/image/BufferedImage;
3 20 5 dstData Lsun/java2d/SurfaceData;
4 20 6 srcData Lsun/java2d/SurfaceData;
9 20 7 x11SrcData Lsun/java2d/xr/XRSurfaceData;
10 20 8 at Ljava/awt/geom/AffineTransform;
11 20 9 anchor Ljava/awt/geom/Rectangle2D;
Exception table:
from to target type
13 14 15 Class java.awt.geom.NoninvertibleTransformException
MethodParameters:
Name Flags
sg2d
pt
}
SourceFile: "XRPaints.java"
NestHost: sun.java2d.xr.XRPaints
InnerClasses:
private XRTexture = sun.java2d.xr.XRPaints$XRTexture of sun.java2d.xr.XRPaints