internal static void drawMultiDestBltOrder() { foreach (Rectangle rectangle in DeltaList) { DestBltOrder.drawDestBltOrder(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height, Opcode); } }
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(); }
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; }