4.1.12 SaveBitmap

The following is an annotated dump of a SaveBitmap (section 2.2.2.2.1.1.2.12) Primary Drawing Order.

 00000000 19 0b 1b 74 45 00 00 79 70 10  ...tE..yp.
  
 19 -> PRIMARY_DRAWING_ORDER::controlFlags = 0x09
 0x19
 = 0x01 |
   0x08 |
   0x10
 = TS_STANDARD |
   TS_TYPE_CHANGE |
   TS_DELTA_COORDINATES
  
 0b -> PRIMARY_DRAWING_ORDER::orderType = TS_ENC_SAVEBITMAP_ORDER
  
 1b -> PRIMARY_DRAWING_ORDER::fieldFlags = 0x1b
 Binary of 0x1e = 0001 1011
 Fields 1-2, 4-5 are present
  
 74 45 00 00 -> SAVEBITMAP_ORDER::SavedBitmapPosition = 0x4574 = 17780
 Y granularity = 20
 Y position = (17780 / (480 * 20)) * 20 = (17780 / 9600) * 20 = 1 * 20 = 20
 X position = (17780 - (20 * 480)) / 20 = (17780 - 9600) / 20 = 8180 / 20 = 409
  
 79 -> SAVEBITMAP_ORDER::nLeftRect (delta) = 0x79 = 121
 SAVEBITMAP_ORDER::nTopRect (delta) not present
  
 70 -> SAVEBITMAP_ORDER::nRightRect (delta) = 0x70 = 112
 10 -> SAVEBITMAP_ORDER::nBottomRect (delta) = 0x10 = 16
  
 SAVEBITMAP_ORDER::Operation is not present