Пример #1
0
 @Override
 public int getElem(int bank, int i) {
   return 0xff & zpixmap.get_data_element(i);
 }
Пример #2
0
 @Override
 public void setElem(int bank, int i, int val) {
   zpixmap.set_data_element(i, (byte) val);
 }
Пример #3
0
 /**
  * Creates a ZPixmapDataBuffer from an existing ZPixmap.
  *
  * @param zpixmap the ZPixmap to wrap
  */
 ZPixmapDataBuffer(ZPixmap zpixmap) {
   super(TYPE_BYTE, zpixmap.get_data_length());
   this.zpixmap = zpixmap;
 }