2.2.2.2.1.1.2.7 ScrBlt (SCRBLT_ORDER)

The ScrBlt Primary Drawing Order is used to perform a bit-block transfer from a source region to a destination region. The source surface is always the primary drawing surface, while the target surface is the current target surface—specified by the Switch Surface Alternate Secondary Drawing Order (section 2.2.2.2.1.3.3).

 Encoding order number: 2 (0x02)
 Negotiation order number: 2 (0x02)
 Number of fields: 7
 Number of field encoding bytes: 1
 Maximum encoded field length: 13 bytes


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

nLeftRect (variable)

nTopRect (variable)

nWidth (variable)

nHeight (variable)

bRop (optional)

nXSrc (variable)

nYSrc (variable)

...

nLeftRect (variable): The left coordinate of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

nTopRect (variable): The top coordinate of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

nWidth (variable): The width of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

nHeight (variable): The height of the destination rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

bRop (1 byte): The index of the ternary raster operation to perform (see section 2.2.2.2.1.1.1.7). The resultant ROP3 operation MUST only depend on the destination and source bits. (There MUST NOT be any dependence on pattern bits.)

nXSrc (variable): The x-coordinate of the source rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).

nYSrc (variable): The y-coordinate of the source rectangle specified by using a Coord Field (section 2.2.2.2.1.1.1.1).