I have seen this and wish there was a way but the best answer I came up with was like this.
So with that image your source rect would look something like..
1st Column
100/150/140/175 for NW | Notice how the first and 3rd are the same?
100/175/140/205 for W | 2nd is the top edge and 4th is the bottom edge
100/205/140/230 for SW | of each row in the 1st column.
2nd Column
140/150/190/175 for N | 1st and 3rd are the 1st and 2nd edges in the 2nd
140/175/190/205 for C | column. 3rd and 4th are the top and bottom edge
140/205/190/230 for S | of each row in the 2nd column.
3rd Column
190/150/230/175 for NE | 1st and 3rd are the 1st and 2nd edges in the 3rd
190/175/230/205 for E | column. 3rd and 4th are the top and bottom edge
190/205/230/230 for SE | of each row in the 3rd column.
If my math is correct and assumuming that the graphic's top left most corner started at 100 in and 150 down in the image file and had a total width of 130 pixels and a total hight of 80 pixels, then all the dimensions should be correct.
These are just my thoughts but I think that I am thinking correctly.
Sorak
Hmm now that I think about it.. I should be able to wright a small app that if givin the the dimensions for the first column and row could spit out the dimensions needed for the rest... interesting in theory anyways lol