y = this.top;
}
cy = clipbottom - y + 1;
try {
Bitmap bitmap = cache.getBitmap(triblt.getCacheID(), triblt.getCacheIDX());
switch (triblt.getOpcode()) {
case 0x69: // PDSxxn
rop.do_array(ROP2_XOR, ARDP5.wi, this.width, x, y, cx, cy, bitmap.getBitmapData(), bitmap.getWidth(), srcx, srcy);
patBltOrder(ROP2_NXOR, x, y, cx, cy, fgcolor, bgcolor, brush);
EventWakeUp.getInstance().imageSegmented(x, y, ARDP5.wi.getSubimage(x, y, cx, cy));
break;
case 0xb8: // PSDPxax
patBltOrder(ROP2_XOR, x, y, cx, cy, fgcolor, bgcolor, brush);
rop.do_array(ROP2_AND, ARDP5.wi, this.width, x, y, cx, cy, bitmap.getBitmapData(), bitmap.getWidth(), srcx, srcy);
patBltOrder(ROP2_XOR, x, y, cx, cy, fgcolor, bgcolor, brush);
EventWakeUp.getInstance().imageSegmented(x, y, ARDP5.wi.getSubimage(x, y, cx, cy));
break;
case 0xc0: // PSa
rop.do_array(ROP2_COPY, ARDP5.wi, this.width, x, y, cx, cy, bitmap.getBitmapData(), bitmap.getWidth(), srcx, srcy);
patBltOrder(ROP2_AND, x, y, cx, cy, fgcolor, bgcolor, brush);
EventWakeUp.getInstance().imageSegmented(x, y, ARDP5.wi.getSubimage(x, y, cx, cy));
break;
default:
// logger.warn("Unimplemented Triblt opcode:" + triblt.getOpcode());
rop.do_array(ROP2_COPY, ARDP5.wi, this.width, x, y, cx, cy, bitmap.getBitmapData(), bitmap.getWidth(), srcx, srcy);
}
} catch (RdesktopException e) {
}
}