fix l-texture.c, support nine patch
rename fitSize to resize