Package javax.media.jai

Examples of javax.media.jai.RasterAccessor.copyBinaryDataToRaster()


/* 195 */       for (int i = 0; i < length; i++)
/*     */       {
/* 197 */         dstBits[i] = ((byte)(src1Bits[i] & src2Bits[i]));
/*     */       }
/*     */
/* 200 */       d.copyBinaryDataToRaster();
/*     */
/* 202 */       return;
/*     */     }
/*     */
/* 205 */     int src1LineStride = s1.getScanlineStride();
View Full Code Here


/* 197 */     if (d.isBinary()) {
/* 198 */       byte[] dstBits = d.getBinaryDataArray();
/*     */
/* 201 */       System.arraycopy(s1.getBinaryDataArray(), 0, dstBits, 0, dstBits.length);
/*     */
/* 204 */       d.copyBinaryDataToRaster();
/*     */
/* 206 */       return;
/*     */     }
/*     */
/* 209 */     int src1LineStride = s1.getScanlineStride();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.