2.2.4.11.6 Surface_Clear

The Surface_Clear message empties the content of the surface, but does not change the surface's location within the SurfacePool.


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

_size

_msgid

_idObjectSubject

rcContentPxl (16 bytes)

...

...

clrFill

_size (4 bytes): An unsigned 32-bit integer. The total message size, in bytes.

_msgid (4 bytes): A signed 32-bit integer. The message ID that is unique to the specific target. The _msgid value is 0x00000005 for this message.

_idObjectSubject (4 bytes): An unsigned 32-bit integer. The ID of the target object.

rcContentPxl (16 bytes): A Rectangle (section 2.2.6.4). The area to clear. Use an empty area rectangle to clear the entire surface.

clrFill (4 bytes): A Color (section 2.2.6.9). The color to which to clear the rectangle.