2.2.2.2.1.3.5.2 Stream Bitmap Next (STREAM_BITMAP_NEXT_ORDER)

The Stream Bitmap Next Alternate Secondary Drawing Order is used by the server to send the client intermediate and final blocks in a streamed bitmap.


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

header

BitmapFlags

BitmapType

BitmapBlockSize

BitmapBlock (variable)

...

header (1 byte): An Alternate Secondary Order Header, as defined in section 2.2.2.2.1.3.1.1. The embedded orderType field MUST be set to TS_ALTSEC_STREAM_BITMAP_NEXT (0x03).

BitmapFlags (1 byte): An 8-bit, unsigned integer. Flags describing the order contents and layout.

Value

Meaning

STREAM_BITMAP_END

0x01

Indicates that this packet contains the final stream bitmap block.

STREAM_BITMAP_COMPRESSED

0x02

Indicates that the bitmap data is compressed.

BitmapType (2 bytes): A 16-bit, unsigned integer. The type of the streamed bitmap.

Value

Meaning

TS_DRAW_NINEGRID_BITMAP_CACHE

0x0001

Indicates that the data in the BitmapBlock field is a NineGrid source bitmap.

BitmapBlockSize (2 bytes): A 16-bit, unsigned integer. The size in bytes of the bitmap stream data block contained in the BitmapBlock field.

BitmapBlock (variable): A variable-length byte array. The intermediate or final block of the streamed bitmap. The size of this block is given by the BitmapBlockSize field.