Revision 1215

View differences:

branches/v02_desarrollo/libraries/libCq CMS for java.old/src/org/cresques/io/MrSidFile.java
310 310
	  						kd = y1*currentViewWidth+x1;
311 311
	  						k = ((int) (y1*scale))*SceneWidth+ (int)(((double) x1)*scale);
312 312
	  						try {
313
	  							line[kd] = ((buffer.buf1[k])<<16) + ((buffer.buf2[k])<<8) + buffer.buf3[k];
313
	  							line[kd] = alpha + ((0xff & buffer.buf1[k])<<16) + (( 0xff & buffer.buf2[k])<<8) + (0xff & buffer.buf3[k]);
314 314
	  						} catch (java.lang.ArrayIndexOutOfBoundsException e) {
315 315
	  						}
316 316
	  					}

Also available in: Unified diff