4.1.20 EllipseCB

The following is an annotated dump of an EllipseCB (section 2.2.2.2.1.1.2.20) Primary Drawing Order.

 00000000 0d 1a ff 0c b0 03 b9 c9 09 00 8e fe 10 01 5e 02 ..............^.
 00000010 0d 01 ff ff 00 60 30 00 02 05                   .....`0...
  
 0d -> PRIMARY_DRAWING_ORDER::controlFlags = 0x09
 0x0d
 = 0x01 |
   0x04 |
   0x08
 = TS_STANDARD |
   TS_BOUNDS |
   TS_TYPE_CHANGE
  
 1a -> PRIMARY_DRAWING_ORDER::orderType = TS_ENC_ELLIPSE_CB_ORDER
  
 ff 0c -> PRIMARY_DRAWING_ORDER::fieldFlags = 0x0cff
 Binary of 0x0cff = 0000 1100 1111 1111
 Fields 1-8, 11-12 are present
  
 b0 -> PRIMARY_DRAWING_ORDER::bounds::flags = 0x29
 0xb0
 = 0x10 |
   0x20 |
   0x80
 = TS_BOUND_DELTA_LEFT |
   TS_BOUND_DELTA_TOP |
   TS_BOUND_DELTA_BOTTOM
  
 03 -> PRIMARY_DRAWING_ORDER::bounds::left(delta) = 0x03 = 3 pixels from last bounds::left
 PRIMARY_DRAWING_ORDER::bounds::left = last bounds::left (0x2e) + 0x03 = 0x32 = 49 
  
 b9 -> PRIMARY_DRAWING_ORDER::bounds::top(delta) = 0xb9 = -71 pixels from last bounds::top
 PRIMARY_DRAWING_ORDER::bounds::top = last bounds::top (0x89) + 0xb9 = 0x42 = 66 
  
 PRIMARY_DRAWING_ORDER::bounds::right not present
  
 c9 -> PRIMARY_DRAWING_ORDER::bounds::bottom(delta) = 0xc9 = -55 pixels from last bounds::bottom
 PRIMARY_DRAWING_ORDER::bounds::bottom = last bounds::bottom (0xad) + 0xc9 = 0x76 = 118 
  
 09 00 -> ELLIPSE_CB_ORDER::LeftRect = 0x0009 = 9 
 8e fe -> ELLIPSE_CB_ORDER::TopRect = 0xfe8e = -370 
  
 10 01 -> ELLIPSE_CB_ORDER::RighttRect = 0x0110 = 272 
 5e 02 -> ELLIPSE_CB_ORDER::BottomRect = 0x025e = 606 
  
 0d -> ELLIPSE_CB_ORDER::bRop2 = 0x0d = COPYPEN
 01 -> ELLIPSE_CB_ORDER::FillMode = 0x01 = ALTERNATE
  
 ff ff 00 -> ELLIPSE_CB_ORDER::BackColor
 TS_COLOR::RedOrPaletteIndex = 0xff
 TS_COLOR::Green = 0xff
 TS_COLOR::Blue = 0x00
  
 60 30 00 -> ELLIPSE_CB_ORDER::ForeColor::Red = 0xff
 TS_COLOR::RedOrPaletteIndex = 0x60
 TS_COLOR::Green = 0x30
 TS_COLOR::Blue = 0x00
  
 ELLIPSE_CB_ORDER::BrushOrgX not present
 ELLIPSE_CB_ORDER::BrushOrgY not present
  
 02 -> ELLIPSE_CB_ORDER::BrushStyle = 0x02 = BMF_4BPP
 05 -> ELLIPSE_CB_ORDER::BrushHatch = Brush Cache Index = 0x05
  
 ELLIPSE_CB_ORDER::BrushExtra not present