/*** This chunk specifies how to split an image into segments for* scaling.** There are J horizontal and K vertical segments. These segments divide* the image into J*K regions as follows (where J=4and K=3):** F0 S0 F1 S1* +-----+----+------+-------+* S2| 0 | 1 | 2 | 3 |* +-----+----+------+-------+* | | | | |* | | | | |* F2| 4 | 5 | 6 | 7 |* | | | | |* | | | | |* +-----+----+------+-------+* S3| 8 | 9 | 10 | 11 |* +-----+----+------+-------+** Each horizontal and vertical segment is considered toby either* stretchable (marked bythe Sx labels) or fixed (marked bythe Fy* labels), inthe horizontal or vertical axis, respectively. In the* above example, thefirstis horizontal segment (F0) is fixed, the* next is stretchable andthen they continueto alternate. Note that* the segment listfor each axis can begin orendwith a stretchable* or fixed segment.** The relative sizes ofthe stretchy segments indicates the relative* amount of stretchiness ofthe regions bordered bythe segments. For* example, regions 3, 7and11above will take up more horizontal space* than regions 1, 5and9sincethe horizontal segment associated with* thefirstsetof regions is larger than the other setof regions. The* ratios ofthe amount of horizontal (or vertical) space taken by any* two stretchable slices is exactly the ratio of their corresponding* segment lengths.** xDivs and yDivs are arrays of horizontal and vertical pixel* indices. The first pair of Divs (in either array) indicate the* starting and ending points ofthefirst stretchable segment inthat* axis. The next pair specifies the next stretchable segment, etc. So* intheabove example xDiv[0] and xDiv[1] specify the horizontal* coordinates forthe regions labeled 1, 5and9. xDiv[2] and* xDiv[3] specify the coordinates for regions 3, 7and11. Note that* the leftmost slices always start at x=0andthe rightmost slices* always endattheendofthe image. So, for example, the regions 0,* 4and8 (which are fixed along the X axis) start at x value 0and* go to xDiv[0] and slices 2, 6and10 start at xDiv[1] andendat* xDiv[2].** The colors array contains hints for each ofthe regions. They are* ordered according left-to-right and top-to-bottom as indicated above.* For each segment thatis a solid color the array entry will contain* that color value; otherwise it will contain NO_COLOR. Segments that* are completely transparent will always have the value TRANSPARENT_COLOR.** The PNG chunk type is"npTc".*/