equal
deleted
inserted
replaced
170 srcx -= dstx; |
170 srcx -= dstx; |
171 srcy -= dsty; |
171 srcy -= dsty; |
172 while (si.nextSpan(span)) { |
172 while (si.nextSpan(span)) { |
173 int w = span[2] - span[0]; |
173 int w = span[2] - span[0]; |
174 int h = span[3] - span[1]; |
174 int h = span[3] - span[1]; |
175 srcRas = srcRas.createChild(srcx + span[0], srcy + span[1], |
175 Raster tmpSrcRas = srcRas.createChild(srcx + span[0], srcy + span[1], |
176 w, h, 0, 0, null); |
176 w, h, 0, 0, null); |
177 dstRas = dstRas.createWritableChild(span[0], span[1], |
177 WritableRaster tmpDstRas = dstRas.createWritableChild(span[0], span[1], |
178 w, h, 0, 0, null); |
178 w, h, 0, 0, null); |
179 ctx.compose(srcRas, dstRas, dstRas); |
179 ctx.compose(tmpSrcRas, tmpDstRas, tmpDstRas); |
180 } |
180 } |
181 ctx.dispose(); |
181 ctx.dispose(); |
182 } |
182 } |
183 } |
183 } |
184 |
184 |