Searched refs:nstops (Results 1 – 2 of 2) sorted by relevance
117 int nstops; member411 int nstops; member827 int nstops = 0; in nsvg__createGradient() local837 nstops = ref->nstops; in nsvg__createGradient()844 grad = (NSVGgradient*)malloc(sizeof(NSVGgradient) + sizeof(NSVGgradientStop)*(nstops-1)); in nsvg__createGradient()892 memcpy(grad->stops, stops, nstops*sizeof(NSVGgradientStop)); in nsvg__createGradient()893 grad->nstops = nstops; in nsvg__createGradient()2640 grad->nstops++; in nsvg__parseGradientStop()2641 grad->stops = (NSVGgradientStop*)realloc(grad->stops, sizeof(NSVGgradientStop)*grad->nstops); in nsvg__parseGradientStop()2645 idx = grad->nstops-1; in nsvg__parseGradientStop()[all …]
304 for (int i = 0; i < paint->gradient->nstops; i++) { in _AddShape()