class javax.swing.plaf.nimbus.ImageScalingHelper
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.swing.plaf.nimbus.ImageScalingHelper
super_class: java.lang.Object
{
private static final java.awt.Insets EMPTY_INSETS;
descriptor: Ljava/awt/Insets;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static final int PAINT_TOP_LEFT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int PAINT_TOP;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
static final int PAINT_TOP_RIGHT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int PAINT_LEFT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 8
static final int PAINT_CENTER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int PAINT_RIGHT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 32
static final int PAINT_BOTTOM_RIGHT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 64
static final int PAINT_BOTTOM;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 128
static final int PAINT_BOTTOM_LEFT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 256
static final int PAINT_ALL;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 512
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=0, args_size=0
0: .line 67
new java.awt.Insets
dup
iconst_0
iconst_0
iconst_0
iconst_0
invokespecial java.awt.Insets.<init>:(IIII)V
putstatic javax.swing.plaf.nimbus.ImageScalingHelper.EMPTY_INSETS:Ljava/awt/Insets;
1: .line 82
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // javax.swing.plaf.nimbus.ImageScalingHelper this
0: .line 36
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // javax.swing.plaf.nimbus.ImageScalingHelper this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/swing/plaf/nimbus/ImageScalingHelper;
public static void paint(java.awt.Graphics, int, int, int, int, java.awt.Image, java.awt.Insets, java.awt.Insets, javax.swing.plaf.nimbus.ImageScalingHelper$PaintType, int);
descriptor: (Ljava/awt/Graphics;IIIILjava/awt/Image;Ljava/awt/Insets;Ljava/awt/Insets;Ljavax/swing/plaf/nimbus/ImageScalingHelper$PaintType;I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=12, locals=21, args_size=10
start local 0 // java.awt.Graphics g
start local 1 // int x
start local 2 // int y
start local 3 // int w
start local 4 // int h
start local 5 // java.awt.Image image
start local 6 // java.awt.Insets sInsets
start local 7 // java.awt.Insets dInsets
start local 8 // javax.swing.plaf.nimbus.ImageScalingHelper$PaintType paintType
start local 9 // int mask
0: .line 105
aload 5 /* image */
ifnull 1
aload 5 /* image */
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
ifle 1
aload 5 /* image */
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
ifgt 2
1: .line 106
StackMap locals:
StackMap stack:
return
2: .line 108
StackMap locals:
StackMap stack:
aload 6 /* sInsets */
ifnonnull 4
3: .line 109
getstatic javax.swing.plaf.nimbus.ImageScalingHelper.EMPTY_INSETS:Ljava/awt/Insets;
astore 6 /* sInsets */
4: .line 111
StackMap locals:
StackMap stack:
aload 7 /* dInsets */
ifnonnull 6
5: .line 112
getstatic javax.swing.plaf.nimbus.ImageScalingHelper.EMPTY_INSETS:Ljava/awt/Insets;
astore 7 /* dInsets */
6: .line 114
StackMap locals:
StackMap stack:
aload 5 /* image */
aconst_null
invokevirtual java.awt.Image.getWidth:(Ljava/awt/image/ImageObserver;)I
istore 10 /* iw */
start local 10 // int iw
7: .line 115
aload 5 /* image */
aconst_null
invokevirtual java.awt.Image.getHeight:(Ljava/awt/image/ImageObserver;)I
istore 11 /* ih */
start local 11 // int ih
8: .line 117
aload 8 /* paintType */
getstatic javax.swing.plaf.nimbus.ImageScalingHelper$PaintType.CENTER:Ljavax/swing/plaf/nimbus/ImageScalingHelper$PaintType;
if_acmpne 13
9: .line 119
aload 0 /* g */
aload 5 /* image */
iload 1 /* x */
iload 3 /* w */
iload 10 /* iw */
isub
iconst_2
idiv
iadd
10: .line 120
iload 2 /* y */
iload 4 /* h */
iload 11 /* ih */
isub
iconst_2
idiv
iadd
aconst_null
11: .line 119
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IILjava/awt/image/ImageObserver;)Z
pop
12: .line 121
goto 92
StackMap locals: int int
StackMap stack:
13: aload 8 /* paintType */
getstatic javax.swing.plaf.nimbus.ImageScalingHelper$PaintType.TILE:Ljavax/swing/plaf/nimbus/ImageScalingHelper$PaintType;
if_acmpne 33
14: .line 123
iconst_0
istore 12 /* lastIY */
start local 12 // int lastIY
15: .line 124
iload 2 /* y */
istore 13 /* yCounter */
start local 13 // int yCounter
16: iload 2 /* y */
iload 4 /* h */
iadd
istore 14 /* maxY */
start local 14 // int maxY
17: goto 31
18: .line 126
StackMap locals: int int int
StackMap stack:
iconst_0
istore 15 /* lastIX */
start local 15 // int lastIX
19: .line 127
iload 1 /* x */
istore 16 /* xCounter */
start local 16 // int xCounter
20: iload 1 /* x */
iload 3 /* w */
iadd
istore 17 /* maxX */
start local 17 // int maxX
21: goto 29
22: .line 129
StackMap locals: int int int
StackMap stack:
iload 17 /* maxX */
iload 16 /* xCounter */
iload 10 /* iw */
iadd
iload 15 /* lastIX */
isub
invokestatic java.lang.Math.min:(II)I
istore 18 /* dx2 */
start local 18 // int dx2
23: .line 130
iload 14 /* maxY */
iload 13 /* yCounter */
iload 11 /* ih */
iadd
iload 12 /* lastIY */
isub
invokestatic java.lang.Math.min:(II)I
istore 19 /* dy2 */
start local 19 // int dy2
24: .line 131
aload 0 /* g */
aload 5 /* image */
iload 16 /* xCounter */
iload 13 /* yCounter */
iload 18 /* dx2 */
iload 19 /* dy2 */
25: .line 132
iload 15 /* lastIX */
iload 12 /* lastIY */
iload 15 /* lastIX */
iload 18 /* dx2 */
iadd
iload 16 /* xCounter */
isub
26: .line 133
iload 12 /* lastIY */
iload 19 /* dy2 */
iadd
iload 13 /* yCounter */
isub
aconst_null
27: .line 131
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIIIIIILjava/awt/image/ImageObserver;)Z
pop
end local 19 // int dy2
end local 18 // int dx2
28: .line 128
iload 16 /* xCounter */
iload 10 /* iw */
iload 15 /* lastIX */
isub
iadd
istore 16 /* xCounter */
iconst_0
istore 15 /* lastIX */
29: .line 127
StackMap locals:
StackMap stack:
iload 16 /* xCounter */
iload 17 /* maxX */
if_icmplt 22
end local 17 // int maxX
end local 16 // int xCounter
end local 15 // int lastIX
30: .line 125
iload 13 /* yCounter */
iload 11 /* ih */
iload 12 /* lastIY */
isub
iadd
istore 13 /* yCounter */
iconst_0
istore 12 /* lastIY */
31: .line 124
StackMap locals:
StackMap stack:
iload 13 /* yCounter */
iload 14 /* maxY */
if_icmplt 18
end local 14 // int maxY
end local 13 // int yCounter
end local 12 // int lastIY
32: .line 136
goto 92
33: .line 137
StackMap locals:
StackMap stack:
aload 6 /* sInsets */
getfield java.awt.Insets.top:I
istore 12 /* st */
start local 12 // int st
34: .line 138
aload 6 /* sInsets */
getfield java.awt.Insets.left:I
istore 13 /* sl */
start local 13 // int sl
35: .line 139
aload 6 /* sInsets */
getfield java.awt.Insets.bottom:I
istore 14 /* sb */
start local 14 // int sb
36: .line 140
aload 6 /* sInsets */
getfield java.awt.Insets.right:I
istore 15 /* sr */
start local 15 // int sr
37: .line 142
aload 7 /* dInsets */
getfield java.awt.Insets.top:I
istore 16 /* dt */
start local 16 // int dt
38: .line 143
aload 7 /* dInsets */
getfield java.awt.Insets.left:I
istore 17 /* dl */
start local 17 // int dl
39: .line 144
aload 7 /* dInsets */
getfield java.awt.Insets.bottom:I
istore 18 /* db */
start local 18 // int db
40: .line 145
aload 7 /* dInsets */
getfield java.awt.Insets.right:I
istore 19 /* dr */
start local 19 // int dr
41: .line 148
iload 12 /* st */
iload 14 /* sb */
iadd
iload 11 /* ih */
if_icmple 43
42: .line 149
iconst_0
iload 11 /* ih */
iconst_2
idiv
invokestatic java.lang.Math.max:(II)I
dup
istore 12 /* st */
dup
istore 14 /* sb */
dup
istore 16 /* dt */
istore 18 /* db */
43: .line 151
StackMap locals: java.awt.Graphics int int int int java.awt.Image java.awt.Insets java.awt.Insets javax.swing.plaf.nimbus.ImageScalingHelper$PaintType int int int int int int int int int int int
StackMap stack:
iload 13 /* sl */
iload 15 /* sr */
iadd
iload 10 /* iw */
if_icmple 45
44: .line 152
iconst_0
iload 10 /* iw */
iconst_2
idiv
invokestatic java.lang.Math.max:(II)I
dup
istore 15 /* sr */
dup
istore 13 /* sl */
dup
istore 19 /* dr */
istore 17 /* dl */
45: .line 157
StackMap locals:
StackMap stack:
iload 16 /* dt */
iload 18 /* db */
iadd
iload 4 /* h */
if_icmple 47
46: .line 158
iconst_0
iload 4 /* h */
iconst_2
idiv
iconst_1
isub
invokestatic java.lang.Math.max:(II)I
dup
istore 18 /* db */
istore 16 /* dt */
47: .line 160
StackMap locals:
StackMap stack:
iload 17 /* dl */
iload 19 /* dr */
iadd
iload 3 /* w */
if_icmple 49
48: .line 161
iconst_0
iload 3 /* w */
iconst_2
idiv
iconst_1
isub
invokestatic java.lang.Math.max:(II)I
dup
istore 19 /* dr */
istore 17 /* dl */
49: .line 164
StackMap locals:
StackMap stack:
aload 8 /* paintType */
getstatic javax.swing.plaf.nimbus.ImageScalingHelper$PaintType.PAINT9_STRETCH:Ljavax/swing/plaf/nimbus/ImageScalingHelper$PaintType;
if_acmpne 50
iconst_1
goto 51
StackMap locals:
StackMap stack:
50: iconst_0
StackMap locals:
StackMap stack: int
51: istore 20 /* stretch */
start local 20 // boolean stretch
52: .line 165
iload 9 /* mask */
sipush 512
iand
ifeq 54
53: .line 166
sipush 511
iload 9 /* mask */
iconst_m1
ixor
iand
istore 9 /* mask */
54: .line 169
StackMap locals: int
StackMap stack:
iload 9 /* mask */
bipush 8
iand
ifeq 58
55: .line 170
aload 5 /* image */
aload 0 /* g */
iload 20 /* stretch */
iload 1 /* x */
iload 2 /* y */
iload 16 /* dt */
iadd
iload 1 /* x */
iload 17 /* dl */
iadd
iload 2 /* y */
iload 4 /* h */
iadd
iload 18 /* db */
isub
56: .line 171
iconst_0
iload 12 /* st */
iload 13 /* sl */
iload 11 /* ih */
iload 14 /* sb */
isub
iconst_0
57: .line 170
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawChunk:(Ljava/awt/Image;Ljava/awt/Graphics;ZIIIIIIIIZ)V
58: .line 173
StackMap locals:
StackMap stack:
iload 9 /* mask */
iconst_1
iand
ifeq 62
59: .line 174
aload 5 /* image */
aload 0 /* g */
iload 1 /* x */
iload 2 /* y */
iload 1 /* x */
iload 17 /* dl */
iadd
iload 2 /* y */
iload 16 /* dt */
iadd
60: .line 175
iconst_0
iconst_0
iload 13 /* sl */
iload 12 /* st */
61: .line 174
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawImage:(Ljava/awt/Image;Ljava/awt/Graphics;IIIIIIII)V
62: .line 177
StackMap locals:
StackMap stack:
iload 9 /* mask */
iconst_2
iand
ifeq 66
63: .line 178
aload 5 /* image */
aload 0 /* g */
iload 20 /* stretch */
iload 1 /* x */
iload 17 /* dl */
iadd
iload 2 /* y */
iload 1 /* x */
iload 3 /* w */
iadd
iload 19 /* dr */
isub
iload 2 /* y */
iload 16 /* dt */
iadd
64: .line 179
iload 13 /* sl */
iconst_0
iload 10 /* iw */
iload 15 /* sr */
isub
iload 12 /* st */
iconst_1
65: .line 178
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawChunk:(Ljava/awt/Image;Ljava/awt/Graphics;ZIIIIIIIIZ)V
66: .line 181
StackMap locals:
StackMap stack:
iload 9 /* mask */
iconst_4
iand
ifeq 70
67: .line 182
aload 5 /* image */
aload 0 /* g */
iload 1 /* x */
iload 3 /* w */
iadd
iload 19 /* dr */
isub
iload 2 /* y */
iload 1 /* x */
iload 3 /* w */
iadd
iload 2 /* y */
iload 16 /* dt */
iadd
68: .line 183
iload 10 /* iw */
iload 15 /* sr */
isub
iconst_0
iload 10 /* iw */
iload 12 /* st */
69: .line 182
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawImage:(Ljava/awt/Image;Ljava/awt/Graphics;IIIIIIII)V
70: .line 185
StackMap locals:
StackMap stack:
iload 9 /* mask */
bipush 32
iand
ifeq 75
71: .line 186
aload 5 /* image */
aload 0 /* g */
iload 20 /* stretch */
72: .line 187
iload 1 /* x */
iload 3 /* w */
iadd
iload 19 /* dr */
isub
iload 2 /* y */
iload 16 /* dt */
iadd
iload 1 /* x */
iload 3 /* w */
iadd
iload 2 /* y */
iload 4 /* h */
iadd
iload 18 /* db */
isub
73: .line 188
iload 10 /* iw */
iload 15 /* sr */
isub
iload 12 /* st */
iload 10 /* iw */
iload 11 /* ih */
iload 14 /* sb */
isub
iconst_0
74: .line 186
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawChunk:(Ljava/awt/Image;Ljava/awt/Graphics;ZIIIIIIIIZ)V
75: .line 190
StackMap locals:
StackMap stack:
iload 9 /* mask */
bipush 64
iand
ifeq 79
76: .line 191
aload 5 /* image */
aload 0 /* g */
iload 1 /* x */
iload 3 /* w */
iadd
iload 19 /* dr */
isub
iload 2 /* y */
iload 4 /* h */
iadd
iload 18 /* db */
isub
iload 1 /* x */
iload 3 /* w */
iadd
iload 2 /* y */
iload 4 /* h */
iadd
77: .line 192
iload 10 /* iw */
iload 15 /* sr */
isub
iload 11 /* ih */
iload 14 /* sb */
isub
iload 10 /* iw */
iload 11 /* ih */
78: .line 191
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawImage:(Ljava/awt/Image;Ljava/awt/Graphics;IIIIIIII)V
79: .line 194
StackMap locals:
StackMap stack:
iload 9 /* mask */
sipush 128
iand
ifeq 84
80: .line 195
aload 5 /* image */
aload 0 /* g */
iload 20 /* stretch */
81: .line 196
iload 1 /* x */
iload 17 /* dl */
iadd
iload 2 /* y */
iload 4 /* h */
iadd
iload 18 /* db */
isub
iload 1 /* x */
iload 3 /* w */
iadd
iload 19 /* dr */
isub
iload 2 /* y */
iload 4 /* h */
iadd
82: .line 197
iload 13 /* sl */
iload 11 /* ih */
iload 14 /* sb */
isub
iload 10 /* iw */
iload 15 /* sr */
isub
iload 11 /* ih */
iconst_1
83: .line 195
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawChunk:(Ljava/awt/Image;Ljava/awt/Graphics;ZIIIIIIIIZ)V
84: .line 199
StackMap locals:
StackMap stack:
iload 9 /* mask */
sipush 256
iand
ifeq 88
85: .line 200
aload 5 /* image */
aload 0 /* g */
iload 1 /* x */
iload 2 /* y */
iload 4 /* h */
iadd
iload 18 /* db */
isub
iload 1 /* x */
iload 17 /* dl */
iadd
iload 2 /* y */
iload 4 /* h */
iadd
86: .line 201
iconst_0
iload 11 /* ih */
iload 14 /* sb */
isub
iload 13 /* sl */
iload 11 /* ih */
87: .line 200
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawImage:(Ljava/awt/Image;Ljava/awt/Graphics;IIIIIIII)V
88: .line 203
StackMap locals:
StackMap stack:
iload 9 /* mask */
bipush 16
iand
ifeq 92
89: .line 204
aload 5 /* image */
aload 0 /* g */
iload 1 /* x */
iload 17 /* dl */
iadd
iload 2 /* y */
iload 16 /* dt */
iadd
iload 1 /* x */
iload 3 /* w */
iadd
iload 19 /* dr */
isub
iload 2 /* y */
iload 4 /* h */
iadd
iload 18 /* db */
isub
90: .line 205
iload 13 /* sl */
iload 12 /* st */
iload 10 /* iw */
iload 15 /* sr */
isub
iload 11 /* ih */
iload 14 /* sb */
isub
91: .line 204
invokestatic javax.swing.plaf.nimbus.ImageScalingHelper.drawImage:(Ljava/awt/Image;Ljava/awt/Graphics;IIIIIIII)V
end local 20 // boolean stretch
end local 19 // int dr
end local 18 // int db
end local 17 // int dl
end local 16 // int dt
end local 15 // int sr
end local 14 // int sb
end local 13 // int sl
end local 12 // int st
92: .line 208
StackMap locals: java.awt.Graphics int int int int java.awt.Image java.awt.Insets java.awt.Insets javax.swing.plaf.nimbus.ImageScalingHelper$PaintType int int int
StackMap stack:
return
end local 11 // int ih
end local 10 // int iw
end local 9 // int mask
end local 8 // javax.swing.plaf.nimbus.ImageScalingHelper$PaintType paintType
end local 7 // java.awt.Insets dInsets
end local 6 // java.awt.Insets sInsets
end local 5 // java.awt.Image image
end local 4 // int h
end local 3 // int w
end local 2 // int y
end local 1 // int x
end local 0 // java.awt.Graphics g
LocalVariableTable:
Start End Slot Name Signature
0 93 0 g Ljava/awt/Graphics;
0 93 1 x I
0 93 2 y I
0 93 3 w I
0 93 4 h I
0 93 5 image Ljava/awt/Image;
0 93 6 sInsets Ljava/awt/Insets;
0 93 7 dInsets Ljava/awt/Insets;
0 93 8 paintType Ljavax/swing/plaf/nimbus/ImageScalingHelper$PaintType;
0 93 9 mask I
7 93 10 iw I
8 93 11 ih I
15 32 12 lastIY I
16 32 13 yCounter I
17 32 14 maxY I
19 30 15 lastIX I
20 30 16 xCounter I
21 30 17 maxX I
23 28 18 dx2 I
24 28 19 dy2 I
34 92 12 st I
35 92 13 sl I
36 92 14 sb I
37 92 15 sr I
38 92 16 dt I
39 92 17 dl I
40 92 18 db I
41 92 19 dr I
52 92 20 stretch Z
MethodParameters:
Name Flags
g
x
y
w
h
image
sInsets
dInsets
paintType
mask
private static void drawChunk(java.awt.Image, java.awt.Graphics, boolean, int, int, int, int, int, int, int, int, boolean);
descriptor: (Ljava/awt/Image;Ljava/awt/Graphics;ZIIIIIIIIZ)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=18, args_size=12
start local 0 // java.awt.Image image
start local 1 // java.awt.Graphics g
start local 2 // boolean stretch
start local 3 // int dx1
start local 4 // int dy1
start local 5 // int dx2
start local 6 // int dy2
start local 7 // int sx1
start local 8 // int sy1
start local 9 // int sx2
start local 10 // int sy2
start local 11 // boolean xDirection
0: .line 232
iload 5 /* dx2 */
iload 3 /* dx1 */
isub
ifle 2
iload 6 /* dy2 */
iload 4 /* dy1 */
isub
ifle 2
iload 9 /* sx2 */
iload 7 /* sx1 */
isub
ifle 2
1: .line 233
iload 10 /* sy2 */
iload 8 /* sy1 */
isub
ifgt 3
2: .line 235
StackMap locals:
StackMap stack:
return
3: .line 237
StackMap locals:
StackMap stack:
iload 2 /* stretch */
ifeq 6
4: .line 238
aload 1 /* g */
aload 0 /* image */
iload 3 /* dx1 */
iload 4 /* dy1 */
iload 5 /* dx2 */
iload 6 /* dy2 */
iload 7 /* sx1 */
iload 8 /* sy1 */
iload 9 /* sx2 */
iload 10 /* sy2 */
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIIIIIILjava/awt/image/ImageObserver;)Z
pop
5: .line 239
goto 24
6: .line 241
StackMap locals:
StackMap stack:
iload 9 /* sx2 */
iload 7 /* sx1 */
isub
istore 12 /* xSize */
start local 12 // int xSize
7: .line 242
iload 10 /* sy2 */
iload 8 /* sy1 */
isub
istore 13 /* ySize */
start local 13 // int ySize
8: .line 246
iload 11 /* xDirection */
ifeq 12
9: .line 247
iload 12 /* xSize */
istore 14 /* deltaX */
start local 14 // int deltaX
10: .line 248
iconst_0
istore 15 /* deltaY */
start local 15 // int deltaY
11: .line 249
goto 23
end local 15 // int deltaY
end local 14 // int deltaX
12: .line 251
StackMap locals: int int
StackMap stack:
iconst_0
istore 14 /* deltaX */
start local 14 // int deltaX
13: .line 252
iload 13 /* ySize */
istore 15 /* deltaY */
start local 15 // int deltaY
14: .line 254
goto 23
15: .line 255
StackMap locals: int int
StackMap stack:
iload 5 /* dx2 */
iload 3 /* dx1 */
iload 12 /* xSize */
iadd
invokestatic java.lang.Math.min:(II)I
istore 16 /* newDX2 */
start local 16 // int newDX2
16: .line 256
iload 6 /* dy2 */
iload 4 /* dy1 */
iload 13 /* ySize */
iadd
invokestatic java.lang.Math.min:(II)I
istore 17 /* newDY2 */
start local 17 // int newDY2
17: .line 258
aload 1 /* g */
aload 0 /* image */
iload 3 /* dx1 */
iload 4 /* dy1 */
iload 16 /* newDX2 */
iload 17 /* newDY2 */
18: .line 259
iload 7 /* sx1 */
iload 8 /* sy1 */
iload 7 /* sx1 */
iload 16 /* newDX2 */
iadd
iload 3 /* dx1 */
isub
19: .line 260
iload 8 /* sy1 */
iload 17 /* newDY2 */
iadd
iload 4 /* dy1 */
isub
aconst_null
20: .line 258
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIIIIIILjava/awt/image/ImageObserver;)Z
pop
21: .line 261
iload 3 /* dx1 */
iload 14 /* deltaX */
iadd
istore 3 /* dx1 */
22: .line 262
iload 4 /* dy1 */
iload 15 /* deltaY */
iadd
istore 4 /* dy1 */
end local 17 // int newDY2
end local 16 // int newDX2
23: .line 254
StackMap locals:
StackMap stack:
iload 3 /* dx1 */
iload 5 /* dx2 */
if_icmpge 24
iload 4 /* dy1 */
iload 6 /* dy2 */
if_icmplt 15
end local 15 // int deltaY
end local 14 // int deltaX
end local 13 // int ySize
end local 12 // int xSize
24: .line 265
StackMap locals: java.awt.Image java.awt.Graphics int int int int int int int int int int
StackMap stack:
return
end local 11 // boolean xDirection
end local 10 // int sy2
end local 9 // int sx2
end local 8 // int sy1
end local 7 // int sx1
end local 6 // int dy2
end local 5 // int dx2
end local 4 // int dy1
end local 3 // int dx1
end local 2 // boolean stretch
end local 1 // java.awt.Graphics g
end local 0 // java.awt.Image image
LocalVariableTable:
Start End Slot Name Signature
0 25 0 image Ljava/awt/Image;
0 25 1 g Ljava/awt/Graphics;
0 25 2 stretch Z
0 25 3 dx1 I
0 25 4 dy1 I
0 25 5 dx2 I
0 25 6 dy2 I
0 25 7 sx1 I
0 25 8 sy1 I
0 25 9 sx2 I
0 25 10 sy2 I
0 25 11 xDirection Z
7 24 12 xSize I
8 24 13 ySize I
10 12 14 deltaX I
13 24 14 deltaX I
11 12 15 deltaY I
14 24 15 deltaY I
16 23 16 newDX2 I
17 23 17 newDY2 I
MethodParameters:
Name Flags
image
g
stretch
dx1
dy1
dx2
dy2
sx1
sy1
sx2
sy2
xDirection
private static void drawImage(java.awt.Image, java.awt.Graphics, int, int, int, int, int, int, int, int);
descriptor: (Ljava/awt/Image;Ljava/awt/Graphics;IIIIIIII)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=11, locals=10, args_size=10
start local 0 // java.awt.Image image
start local 1 // java.awt.Graphics g
start local 2 // int dx1
start local 3 // int dy1
start local 4 // int dx2
start local 5 // int dy2
start local 6 // int sx1
start local 7 // int sy1
start local 8 // int sx2
start local 9 // int sy2
0: .line 271
iload 4 /* dx2 */
iload 2 /* dx1 */
isub
ifle 2
iload 5 /* dy2 */
iload 3 /* dy1 */
isub
ifle 2
iload 8 /* sx2 */
iload 6 /* sx1 */
isub
ifle 2
1: .line 272
iload 9 /* sy2 */
iload 7 /* sy1 */
isub
ifgt 3
2: .line 274
StackMap locals:
StackMap stack:
return
3: .line 276
StackMap locals:
StackMap stack:
aload 1 /* g */
aload 0 /* image */
iload 2 /* dx1 */
iload 3 /* dy1 */
iload 4 /* dx2 */
iload 5 /* dy2 */
iload 6 /* sx1 */
iload 7 /* sy1 */
iload 8 /* sx2 */
iload 9 /* sy2 */
aconst_null
invokevirtual java.awt.Graphics.drawImage:(Ljava/awt/Image;IIIIIIIILjava/awt/image/ImageObserver;)Z
pop
4: .line 277
return
end local 9 // int sy2
end local 8 // int sx2
end local 7 // int sy1
end local 6 // int sx1
end local 5 // int dy2
end local 4 // int dx2
end local 3 // int dy1
end local 2 // int dx1
end local 1 // java.awt.Graphics g
end local 0 // java.awt.Image image
LocalVariableTable:
Start End Slot Name Signature
0 5 0 image Ljava/awt/Image;
0 5 1 g Ljava/awt/Graphics;
0 5 2 dx1 I
0 5 3 dy1 I
0 5 4 dx2 I
0 5 5 dy2 I
0 5 6 sx1 I
0 5 7 sy1 I
0 5 8 sx2 I
0 5 9 sy2 I
MethodParameters:
Name Flags
image
g
dx1
dy1
dx2
dy2
sx1
sy1
sx2
sy2
}
SourceFile: "ImageScalingHelper.java"
NestMembers:
javax.swing.plaf.nimbus.ImageScalingHelper$PaintType
InnerClasses:
final PaintType = javax.swing.plaf.nimbus.ImageScalingHelper$PaintType of javax.swing.plaf.nimbus.ImageScalingHelper