* fix precision issue * fix shader error on mac
* LayerRadialGradient works on mac and iOS * fix radius * finish LayerRadialGradient and add test case * use local coordinate in shader * adjust function attributes * implement getCenter() * add some comments