NSVGgradient
NSVGgradient* gradient;
static void nsvg__scaleGradient(NSVGgradient* grad, float tx, float ty, float sx, float sy)
static NSVGgradient* nsvg__createGradient(NSVGparser* p, const char* id, const float* localBounds, char* paintType)
NSVGgradient* grad;
grad = (NSVGgradient*)malloc(sizeof(NSVGgradient) + sizeof(NSVGgradientStop)*(nstops-1));