Lines Matching refs:stops
118 NSVGgradientStop stops[1]; member
412 NSVGgradientStop* stops; member
679 free(grad->stops); in nsvg__deleteGradientData()
824 NSVGgradientStop* stops = NULL; in nsvg__createGradient() local
835 if (stops == NULL && ref->stops != NULL) { in nsvg__createGradient()
836 stops = ref->stops; in nsvg__createGradient()
842 if (stops == NULL) return NULL; in nsvg__createGradient()
892 memcpy(grad->stops, stops, nstops*sizeof(NSVGgradientStop)); in nsvg__createGradient()
2641 grad->stops = (NSVGgradientStop*)realloc(grad->stops, sizeof(NSVGgradientStop)*grad->nstops); in nsvg__parseGradientStop()
2642 if (grad->stops == NULL) return; in nsvg__parseGradientStop()
2647 if (curAttr->stopOffset < grad->stops[i].offset) { in nsvg__parseGradientStop()
2654 grad->stops[i] = grad->stops[i-1]; in nsvg__parseGradientStop()
2657 stop = &grad->stops[idx]; in nsvg__parseGradientStop()