Home | History | Annotate | Download | only in test

Lines Matching refs:n_stops

606 create_random_stops (int *n_stops)
613 *n_stops = prng_rand_n (50) + 1;
615 step = pixman_fixed_1 / *n_stops;
617 stops = malloc (*n_stops * sizeof (pixman_gradient_stop_t));
620 for (i = 0; i < (*n_stops) - 1; ++i)
628 stops[*n_stops - 1].x = pixman_fixed_1;
629 stops[*n_stops - 1].color = random_color();
648 int n_stops;
653 stops = create_random_stops (&n_stops);
660 result = pixman_image_create_linear_gradient (&p1, &p2, stops, n_stops);
670 int n_stops;
681 stops = create_random_stops (&n_stops);
687 &inner_c, &outer_c, inner_r, outer_r, stops, n_stops);
698 int n_stops;
706 stops = create_random_stops (&n_stops);
711 result = pixman_image_create_conical_gradient (&c, angle, stops, n_stops);