5,389
edits
(rephrased) |
(added external URL for completeness) |
||
Line 16: | Line 16: | ||
|} | |} | ||
:''For more info on nine-grid rendering, see [http://msdn.microsoft.com/en-us/library/bb189722.aspx HERE] | |||
;What is stored | ;What is stored | ||
Line 27: | Line 29: | ||
;How it is stored | ;How it is stored | ||
:Every 2 int16 fields make a texture coordinate. The former 9 texture coordinates (18 bytes) are the top left corners of the 9 rectangles. The latter 9 coordinates are the bottom right corners of the 9 rectangles. When both coordinates are 0 then the rectangle is not used. The order of the coordinates is top to bottom and left to right. The | :Every 2 int16 fields make a texture coordinate. The former 9 texture coordinates (18 bytes) are the top left corners of the 9 rectangles. The latter 9 coordinates are the bottom right corners of the 9 rectangles. When both coordinates are 0 then the rectangle is not used. The order of the coordinates is top to bottom and left to right. The order of the 9 rectangles is: top left, top, top right, left, center, right, bottom left, bottom, bottom right. | ||
{{OBD_File_Footer | type=PSpc | prev=PNTA | next=PSpL | name=Part Specification | family=Message}} | {{OBD_File_Footer | type=PSpc | prev=PNTA | next=PSpL | name=Part Specification | family=Message}} |