4.1.18 Polyline

The following is an annotated dump of a Polyline (section 2.2.2.2.1.1.2.18) Primary Drawing Order.

 00000000 2d 16 73 f8 01 b8 02 00 c0 00 20 6c 00 00 00 00 -.s....... l....
 00000010 00 04 00 00 ff 7e 76 ff 41 6c ff 24 62 ff 2b 59 .....~v.Al.$b.+Y
 00000020 ff 55 51 ff 9c 49 73 43 80 4d ff be 80 99 ff ba .UQ..IsC.M......
 00000030 80 cd ff b7 80 de ff b6 80 ca ff b6 80 96 ff b7 ................
 00000040 80 48 ff ba 6f ff be ff 97 43 ff 52 4a ff 2b 51 .H..o....C.RJ.+Q
 00000050 ff 24 59 ff 44 63 ff 81 6c 56 76 2f 80 82 0a 80 .$Y.Dc..lVv/....
 00000060 bf 14 80 dd 1e 80 d4 27 80 ab 2f 80 64 37 0d 3d .......'../.d7.=
 00000070 ff b3 80 42 ff 67 80 46                         ...B.g.F
  
 2d -> PRIMARY_DRAWING_ORDER::controlFlags = 0x2d
 0x2d
 = 0x01 |
   0X04 |
   0x08 |
   0x20
 = TS_STANDARD |
   TS_BOUNDS |
   TS_TYPE_CHANGE |
   TS_ZERO_BOUNDS_DELTAS
  
 16 -> PRIMARY_DRAWING_ORDER::orderType = 0x16 = TS_ENC_POLYLINE_ORDER
  
 73 -> PRIMARY_DRAWING_ORDER::fieldFlags = 0x73
 Binary of 0x73 = 1110011
 Fields 1-2, 5-7 are present
  
 PRIMARY_DRAWING_ORDER::bounds = last bounds
  
 f8 01 -> POLYLINE_ORDER::xStart = 0x01f8 = 504 
 b8 02 -> POLYLINE_ORDER::yStart = 0x02b8 = 696 
  
 POLYLINE_ORDER::bRop2 not present
 POLYLINE_ORDER::BrushCacheEntry not present
  
 00 c0 00 -> POLYLINE_ORDER::PenColor::Red = 0x00
 TS_COLOR::RedOrPaletteIndex = 0x00
 TS_COLOR::Green = 0xc0
 TS_COLOR::Blue = 0x00
  
 20 -> POLYLINE_ORDER::NumDeltaEntries = 0x20 = 32 entries
  
 6c -> VARIABLE1_FIELD::cbData = 0x6c = 108 bytes
  
 00 00 00 00 00 04 00 00 ff 7e 76 ff 41 6c ff 24
 62 ff 2b 59 ff 55 51 ff 9c 49 73 43 80 4d ff be
 80 99 ff ba 80 cd ff b7 80 de ff b6 80 ca ff b6
 80 96 ff b7 80 48 ff ba 6f ff be ff 97 43 ff 52
 4a ff 2b 51 ff 24 59 ff 44 63 ff 81 6c 56 76 2f
 80 82 0a 80 bf 14 80 dd 1e 80 d4 27 80 ab 2f 80
 64 37 0d 3d ff b3 80 42 ff 67 80 46 -> VARIABLE1_FIELD::rgbData
  
 00 00 00 00 00 04 00 00 -> DELTA_PTS_FIELD::zeroBits
  
 Point 1: ff 7e -> Delta X = 0xffffff7e = -130      76 -> Delta Y = 0xfffffff6 = -10
 Point 2: ff 41 -> Delta X = 0xffffff41 = -191      6c -> Delta Y = 0xffffffec = -20
 Point 3: ff 24 -> Delta X = 0xffffff24 = -220      62 -> Delta Y = 0xffffffe2 = -30
 Point 4: ff 2b -> Delta X = 0xffffff2b = -213      59 -> Delta Y = 0xffffffd9 = -39
 Point 5: ff 55 -> Delta X = 0xffffff55 = -171      51 -> Delta Y = 0xffffffd1 = -47
 Point 6: ff 9c -> Delta X = 0xffffff9c = -100      49 -> Delta Y = 0xffffffc9 = -55
 Point 7: 73 -> Delta X = 0xfffffff3 = -13          43 -> Delta Y = 0xffffffc3 = -61
 Point 8: 80 4d -> Delta X = 0x4d = 77              ff be -> Delta Y = 0xffffffbe = -66
 Point 9: 80 99 -> Delta X = 0x99 = 153             ff ba -> Delta Y = 0xffffffba = -70
 Point 10: 80 cd -> Delta X = 0xcd = 205            ff b7 -> Delta Y = 0xffffffb7 = -73
 Point 11: 80 de -> Delta X = 0xde = 222            ff b6 -> Delta Y = 0xffffffb6 = -74
 Point 12: 80 ca -> Delta X = 0xca = 202            ff b6 -> Delta Y = 0xffffffb6 = -74
 Point 13: 80 96 -> Delta X = 0x96 = 150            ff b7 -> Delta Y = 0xffffffb7 = -73
 Point 14: 80 48 -> Delta X = 0x48 = 72             ff ba -> Delta Y = 0xffffffba = -70
 Point 15: 6f -> Delta X = 0xffffffef = -17         ff be -> Delta Y = 0xffffffbe = -66
 Point 16: ff 97 -> Delta X = 0xffffff97 = -105     43 -> Delta Y = 0xffffffc3 = -61
 Point 17: ff 52 -> Delta X = 0xffffff52 = -174     4a -> Delta Y = 0xffffffca = -54
 Point 18: ff 2b -> Delta X = 0xffffff2b = -213     51 -> Delta Y = 0xffffffd1 = -47
 Point 19: ff 24 -> Delta X = 0xffffff24 = -220     59 -> Delta Y = 0xffffffd9 = -39
 Point 20: ff 44 -> Delta X = 0xffffff44 = -188     63 -> Delta Y = 0xffffffe3 = -29
 Point 21: ff 81 -> Delta X = 0xffffff81 = -127     6c -> Delta Y = 0xffffffec = -20
 Point 22: 56 -> Delta X = 0xffffffd6 = -42         76 -> Delta Y = 0xfffffff6 = -10
 Point 23: 2f -> Delta X = 0x2f = 47                Delta Y = 0 (due to zeroBit being set)
 Point 24: 80 82 -> Delta X = 0x82 = 130            0a -> Delta Y = 0xa = 10
 Point 25: 80 bf -> Delta X = 0xbf = 191            14 -> Delta Y = 0x14 = 20
 Point 26: 80 dd -> Delta X = 0xdd = 221            1e -> Delta Y = 0x1e = 30
 Point 27: 80 d4 -> Delta X = 0xd4 = 212            27 -> Delta Y = 0x27 = 39
 Point 28: 80 ab -> Delta X = 0xab = 171            2f -> Delta Y = 0x2f = 47
 Point 29: 80 64 -> Delta X = 0x64 = 100            37 -> Delta Y = 0x37 = 55
 Point 30: 0d -> Delta X = 0xd = 13                 3d -> Delta Y = 0x3d = 61
 Point 31: ff b3 -> Delta X = 0xffffffb3 = -77      80 42 -> Delta Y = 0x42 = 66
 Point 32: ff 67 -> Delta X = 0xffffff67 = -153     80 46 -> Delta Y = 0x46 = 70
  
 Actual point 1: 374, 686
 Actual point 2: 183, 666
 Actual point 3: -37, 636
 Actual point 4: -250, 597
 Actual point 5: -421, 550
 Actual point 6: -521, 495
 Actual point 7: -534, 434
 Actual point 8: -457, 368
 Actual point 9: -304, 298
 Actual point 10: -99, 225
 Actual point 11: 123, 151
 Actual point 12: 325, 77
 Actual point 13: 475, 4
 Actual point 14: 547, -66
 Actual point 15: 530, -132
 Actual point 16: 425, -193
 Actual point 17: 251, -247
 Actual point 18: 38, -294
 Actual point 19: -182, -333
 Actual point 20: -370, -362
 Actual point 21: -497, -382
 Actual point 22: -539, -392
 Actual point 23: -492, -392
 Actual point 24: -362, -382
 Actual point 25: -171, -362
 Actual point 26: 50, -332
 Actual point 27: 262, -293
 Actual point 28: 433, -246
 Actual point 29: 533, -191
 Actual point 30: 546, -130
 Actual point 31: 469, -64
 Actual point 32: 316, 6