internal static void drawMultiScreenBltOrder()
 {
     foreach (Rectangle rectangle in DeltaList)
     {
         ScreenBltOrder.drawScreenBltOrder(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, SrcX, SrcY, Opcode);
     }
 }
Esempio n. 2
0
 internal static void resetOrderState()
 {
     Orders.Reset();
     SurfaceClip.Reset();
     DestBltOrder.Reset();
     MultiDestBltOrder.Reset();
     PatBltOrder.Reset();
     MultiPatBltOrder.Reset();
     ScreenBltOrder.Reset();
     MultiScreenBltOrder.Reset();
     MemBltOrder.Reset();
     TriBltOrder.Reset();
     ScreenBltOrder.Reset();
     LineOrder.Reset();
     PolylineOrder.Reset();
     RectangleOrder.Reset();
     MultiRectangleOrder.Reset();
     DeskSaveOrder.Reset();
     Glyph.Reset();
     Cache.Reset(!m_bInitialised);
     Text2Order.Reset();
     Options.BoundsTop    = Options.BoundsLeft = 0;
     Options.BoundsBottom = Options.height - 1;
     Options.BoundsRight  = Options.width - 1;
 }
Esempio n. 3
0
        private static void processScreenBlt(RdpPacket data, int present, bool delta)
        {
            if ((present & 1) != 0)
            {
                ScreenBltOrder.X = setCoordinate(data, ScreenBltOrder.X, delta);
            }

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

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

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

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

            if ((present & 0x20) != 0)
            {
                ScreenBltOrder.SrcX = setCoordinate(data, ScreenBltOrder.SrcX, delta);
            }

            if ((present & 0x40) != 0)
            {
                ScreenBltOrder.SrcY = setCoordinate(data, ScreenBltOrder.SrcY, delta);
            }

            ScreenBltOrder.drawScreenBltOrder();
        }