4.3.4 Stream Bitmap First

The following is an annotated dump of a Stream Bitmap First (section 2.2.2.2.1.3.5.1) Alternate Secondary Drawing Order.

 00000000 0a 07 20 01 00 04 00 1e 00 7a 01 00 00 7a 01 02 .. ......z...z..
 00000010 1c df 60 02 90 df 60 02 fc 19 f5 6c 8f 6a 9a 02 ..`...`....l.j..
 00000020 5f 07 00 00 88 df 60 02 02 00 00 00 a8 e6 8d 02 _.....`.........
 00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
 00000050 00 00 00 00 01 00 00 00 01 00 00 00 84 df 60 02 ..............`.
 00000060 6f e3 28 e7 08 00 00 00 05 40 00 80 00 00 00 00 o.(......@......
 00000070 ee 71 9a 02 a8 e0 60 02 e3 57 ec 6c 02 00 00 00 .q....`..W.l....
 00000080 8f 6a 9a 02 5f 07 00 00 90 e0 60 02 04 00 00 00 .j.._.....`.....
 00000090 05 73 9a 02 1f e7 99 02 1e 00 00 00 01 00 00 00 .s..............
 000000a0 a8 e6 8d 02 01 00 00 00 d0 df 60 02 02 00 00 00 ..........`.....
 000000b0 fc c3 38 00 ff 17 00 00 10 2f 99 02 0f 73 9a 02 ..8....../...s..
 000000c0 00 00 00 00 f0 2e 99 02 ba ed 7c 02 00 00 00 01 ..........|.....
 000000d0 8d 6a 9a 02 ff ff 00 00 00 00 00 00 00 2f 99 02 .j.........../..
 000000e0 48 52 f8 00 0d 00 00 00 00 00 00 00 04 00 00 00 HR..............
 000000f0 ba ed 7c 02 00 00 00 00 0a 00 00 00 00 01 00 00 ..|.............
 00000100 0a 00 00 00 10 33 99 02 ee 71 9a 02 10 73 99 02 .....3...q...s..
 00000110 ff 1f 00 00 ff ff 00 00 ff ff 00 00 68 e0 60 02 ............h.`.
 00000120 1a 4c ed 6c d0 ec 7c 02 ea 00 00 00 00 00 00 00 .L.l..|.........
 00000130 b8 e1 60 02 a8 e1 60 02 f0 2e 99 02 02 00 00 00 ..`...`.........
 00000140 02 00 00 00 04 00 00 00 87 dc 28 e7 b0 e0 60 02 ..........(...`.
 00000150 01 62 e5 6c 08 00 00 00 04 00 00 00 00 00 00 00 .b.l............
 00000160 08 00 00 00 8f 6a 9a 02 8f 6a 9a 02 5f 07 00 00 .....j...j.._...
 00000170 00 00 00 00 c8 d8 7a 02 ee 71 9a 02 00 00 00 00 ......z..q......
 00000180 00 00 00 00 4b dc 28 e7 02                      ....K.(..
  
 0a -> ALTSEC_DRAWING_ORDER_HEADER::controlFlags = 0xa
 class = TS_SECONDARY (0x02)
 orderType = TS_ALTSEC_STREAM_BITMAP_FIRST (0x02)
  
 07 -> STREAM_BITMAP_FIRST_ORDER::BitmapFlags = 0x07
 0x07
 = 0x01 | 
   0x02 | 
   0x04
 = STREAM_BITMAP_END | 
   STREAM_BITMAP_COMPRESSED | 
   STREAM_BITMAP_REV2
  
 20 -> STREAM_BITMAP_FIRST_ORDER::BitmapBpp = 0x20 = 32 bpp
 01 00 -> STREAM_BITMAP_FIRST_ORDER::BitmapType = TS_DRAW_NINEGRID_BITMAP_CACHE (0x1)
 04 00 -> STREAM_BITMAP_FIRST_ORDER::BitmapWidth = 0x4 = 4
 1e 00 -> STREAM_BITMAP_FIRST_ORDER::BitmapHeight = 0x1e = 30 
 7a 01 00 00 -> STREAM_BITMAP_FIRST_ORDER::BitmapSize = 0x17a = 378 bytes
 7a 01 -> STREAM_BITMAP_FIRST_ORDER::BitmapBlockSize = 0x17a = 378 bytes
  
 The next 378 bytes are the compressed bitmap (STREAM_BITMAP_FIRST_ORDER::BitmapBlock).