4.1.21 DrawNineGrid
The following is an annotated dump of a DrawNineGrid (section 2.2.2.2.1.1.2.21) Primary Drawing Order.
-
00000000 1d 07 1c 87 39 03 86 00 4e 03 7d fb f9 0d ....9...N.}... 1d -> PRIMARY_DRAWING_ORDER::controlFlags = 0x1d 0x1d = 0x01 | 0X04 | 0x08 | 0x10 = TS_STANDARD | TS_BOUNDS | TS_TYPE_CHANGE | TS_DELTA_COORDINATES 07 -> PRIMARY_DRAWING_ORDER::orderType = 0x07 = TS_ENC_DRAWNINEGRID_ORDER 1c -> PRIMARY_DRAWING_ORDER::fieldFlags = 0x1c Binary of 0x1c = 0001 1100 Fields 3-5 are present 87 -> PRIMARY_DRAWING_ORDER::bounds::flags = 0x87 0x87 = 0x01 | 0x02 | 0x04 | 0x80 = TS_BOUND_LEFT | TS_BOUND_TOP | TS_BOUND_RIGHT | TS_BOUND_DELTA_BOTTOM 39 03 -> PRIMARY_DRAWING_ORDER::bounds::left = 0x0393 = 925 86 00 -> PRIMARY_DRAWING_ORDER::bounds::top = 0x86 = 134 4e 03 -> PRIMARY_DRAWING_ORDER::bounds::right = 0x034e = 846 7d -> PRIMARY_DRAWING_ORDER::bounds::bottom(delta) = 0x7d = -131 pixels from the last bounds::bottom PRIMARY_DRAWING_ORDER::bounds::bottom = last bounds::bottom (0x11e) + 0x7d = 0x9b = 155 DRAWNINEGRID_ORDER_Order::srcLeft not present DRAWNINEGRID_ORDER_Order::srcTop not present fb -> DRAWNINEGRID_ORDER_Order::srcRight (delta) = 0xfb = -5 pixels from last srcRight DRAWNINEGRID_ORDER_Order::srcRight = last DRAWNINEGRID_ORDER_Order::srcRight (0x26) + 0xfb = 0x21 f9 -> DRAWNINEGRID_ORDER_Order::srcBottom (delta) = 0xf9 = -7 pixels from last srcBottom DRAWNINEGRID_ORDER_Order::srcBottom = last DRAWNINEGRID_ORDER_Order::srcBottom (0x28) + 0xf9 = 0x21 0d -> DRAWNINEGRID_ORDER_Order::bitmapId = 13