Home | History | Annotate | Download | only in pixman

Lines Matching refs:stops

41     pixman_gradient_stop_t *stops = gradient->stops;
42 pixman_gradient_stop_t *begin = &(gradient->stops[-1]);
43 pixman_gradient_stop_t *end = &(gradient->stops[n]);
56 begin->x = stops[n - 1].x - pixman_fixed_1;
57 begin->color = stops[n - 1].color;
58 end->x = stops[0].x + pixman_fixed_1;
59 end->color = stops[0].color;
63 begin->x = - stops[0].x;
64 begin->color = stops[0].color;
65 end->x = pixman_int_to_fixed (2) - stops[n - 1].x;
66 end->color = stops[n - 1].color;
71 begin->color = stops[0].color;
73 end->color = stops[n - 1].color;
80 const pixman_gradient_stop_t *stops,
85 /* We allocate two extra stops, one before the beginning of the stop list,
86 * and one after the end. These stops are initialized to whatever color
95 gradient->stops =
97 if (!gradient->stops)
100 gradient->stops += 1;
101 memcpy (gradient->stops, stops, n_stops * sizeof (pixman_gradient_stop_t));
158 if (image->gradient.stops)
161 free (image->gradient.stops - 1);
491 if (image->gradient.stops[i].color.alpha != 0xffff)