Esempio n. 1
0
        private static void processDestBlt(RdpPacket data, int present, bool delta)
        {
            if ((present & 1) != 0)
            {
                DestBltOrder.X = setCoordinate(data, DestBltOrder.X, delta);
            }

            if ((present & 2) != 0)
            {
                DestBltOrder.Y = setCoordinate(data, DestBltOrder.Y, delta);
            }

            if ((present & 4) != 0)
            {
                DestBltOrder.CX = setCoordinate(data, DestBltOrder.CX, delta);
            }

            if ((present & 8) != 0)
            {
                DestBltOrder.CY = setCoordinate(data, DestBltOrder.CY, delta);
            }

            if ((present & 0x10) != 0)
            {
                DestBltOrder.Opcode = ROP2_S(data.ReadByte());
            }

            DestBltOrder.drawDestBltOrder();
        }
Esempio n. 2
0
 internal static void drawMultiDestBltOrder()
 {
     foreach (Rectangle rectangle in DeltaList)
     {
         DestBltOrder.drawDestBltOrder(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, Opcode);
     }
 }