Package com.lixia.rdp

Examples of com.lixia.rdp.Bitmap


        srcx += x - memblt.getX();
        srcy += y - memblt.getY();

        try {
            Bitmap bitmap = cache.getBitmap(memblt.getCacheID(), memblt.getCacheIDX());
            rop.do_array(memblt.getOpcode(), ARDP5.wi, this.width, x, y, cx, cy, bitmap.getBitmapData(), bitmap.getWidth(), srcx, srcy);
            EventWakeUp.getInstance().imageSegmented(x, y, ARDP5.wi.getSubimage(x, y, cx, cy));
            this.repaintAll(x, y, cx, cy);
        } catch (RdesktopException e) {
        }
    }
View Full Code Here


            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) {
        }
    }
View Full Code Here

TOP

Related Classes of com.lixia.rdp.Bitmap

Copyright © 2018 www.massapicom. 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.