equal
deleted
inserted
replaced
125 renderTiles(sg, computeBBox(ux1, uy1, ux2, uy2), aatg, abox); |
125 renderTiles(sg, computeBBox(ux1, uy1, ux2, uy2), aatg, abox); |
126 } |
126 } |
127 |
127 |
128 private static byte[] theTile; |
128 private static byte[] theTile; |
129 |
129 |
130 private synchronized static byte[] getAlphaTile(int len) { |
130 private static synchronized byte[] getAlphaTile(int len) { |
131 byte[] t = theTile; |
131 byte[] t = theTile; |
132 if (t == null || t.length < len) { |
132 if (t == null || t.length < len) { |
133 t = new byte[len]; |
133 t = new byte[len]; |
134 } else { |
134 } else { |
135 theTile = null; |
135 theTile = null; |
136 } |
136 } |
137 return t; |
137 return t; |
138 } |
138 } |
139 |
139 |
140 private synchronized static void dropAlphaTile(byte[] t) { |
140 private static synchronized void dropAlphaTile(byte[] t) { |
141 theTile = t; |
141 theTile = t; |
142 } |
142 } |
143 |
143 |
144 public void renderPath(SunGraphics2D sg, Shape s, BasicStroke bs) { |
144 public void renderPath(SunGraphics2D sg, Shape s, BasicStroke bs) { |
145 boolean adjust = (bs != null && |
145 boolean adjust = (bs != null && |