NSVGgradientStop
NSVGgradientStop stops[1];
NSVGgradientStop* stop;
grad->stops = (NSVGgradientStop*)realloc(grad->stops, sizeof(NSVGgradientStop)*grad->nstops);
NSVGgradientStop* stops;
NSVGgradientStop* stops = NULL;
grad = (NSVGgradient*)malloc(sizeof(NSVGgradient) + sizeof(NSVGgradientStop)*(nstops-1));
memcpy(grad->stops, stops, nstops*sizeof(NSVGgradientStop));