Wrap border is simple. If you could can not call the function. It may only needs to extendend by yourself. For example, 1 2 3 4 56 is extentend as: 3 4 5 1 2 3 4 5 1 2 3 The data underlined is extended data. A more complex examples on other extenstion can be found here: http://software.intel.com/en-us/forums/showthread.php?t=78540
thanks for your answer. However, my question is more along the lines of whether I'm doing something wrong when choosing an anchor point at 0? And how to calculate the values for leftTopBorder and rightBottomBorder?