Problems with NinePatchRect shrinking，Whether the algorithm is wrong？
1.Use a 640x479 resolution picture, set the corner borders, and set the stretch to on.
2.Set rectsize to greater than 640x479, the corners and borders are normal.
3. Set rectsize to less than 640x479, the corners and border cannot maintain the original size,and the pixels are completely distorted.
Cocos and Unity will not have such a similar problem.
Set rect_size <640x479,
When reduced to 363x455, the corners and border cannot maintain the original size, and the pixels are completely distorted.
This will cause confusion for some 2D developers. If the picture is reduced from the original size to the specified size and the corners and borders remain the same, this is definitely a bottleneck for now.
Add an Option to the Control-> NinePatchRect property menu to let developers freely choose whether it is turned on to reduce the size and keep the corner borders unchanged. At present, this will be the demand of many 2D developers.