3.2.5.1.1.1.21 Processing of DrawNineGrid

The structure and fields of the DrawNineGrid Primary Drawing Order are specified in section 2.2.2.2.1.1.2.21, and the techniques described in section 3.2.5.1.1.1 demonstrate how to decode and process the order.

If support for NineGrid bitmap caching was not specified in the DrawNineGrid Cache Capability Set (see section 2.2.1.2), the client SHOULD ignore the order since the order refers to NineGrid bitmaps in the NineGrid Bitmap Cache (see section 3.1.1.1.6).

The source bitmap (which resides in the NineGrid Bitmap Cache) MUST have been created and initialized as a result of processing prior Create NineGrid Bitmap (see section 3.2.5.1.3.1.3) and Stream Bitmap (see section 3.2.5.1.3.1.4) Alternate Secondary Orders.