Searched defs:n_stops (Results 1 - 6 of 6) sorted by relevance
/external/pixman/pixman/ |
H A D | pixman-conical-gradient.c | 187 int n_stops) 197 if (!_pixman_init_gradient (&conical->common, stops, n_stops)) 184 pixman_image_create_conical_gradient(const pixman_point_fixed_t * center, pixman_fixed_t angle, const pixman_gradient_stop_t *stops, int n_stops) argument
|
H A D | pixman-linear-gradient.c | 262 int n_stops) 274 if (!_pixman_init_gradient (&linear->common, stops, n_stops)) 259 pixman_image_create_linear_gradient(const pixman_point_fixed_t * p1, const pixman_point_fixed_t * p2, const pixman_gradient_stop_t *stops, int n_stops) argument
|
H A D | pixman-radial-gradient.c | 429 int n_stops) 441 if (!_pixman_init_gradient (&radial->common, stops, n_stops)) 424 pixman_image_create_radial_gradient(const pixman_point_fixed_t * inner, const pixman_point_fixed_t * outer, pixman_fixed_t inner_radius, pixman_fixed_t outer_radius, const pixman_gradient_stop_t *stops, int n_stops) argument
|
H A D | pixman-image.c | 40 int n = gradient->n_stops; 81 int n_stops) 83 return_val_if_fail (n_stops > 0, FALSE); 96 pixman_malloc_ab (n_stops + 2, sizeof (pixman_gradient_stop_t)); 101 memcpy (gradient->stops, stops, n_stops * sizeof (pixman_gradient_stop_t)); 102 gradient->n_stops = n_stops; 489 for (i = 0; i < image->gradient.n_stops; ++i) 79 _pixman_init_gradient(gradient_t * gradient, const pixman_gradient_stop_t *stops, int n_stops) argument
|
H A D | pixman-private.h | 135 int n_stops; member in struct:gradient 296 int n_stops);
|
/external/pixman/test/ |
H A D | stress-test.c | 606 create_random_stops (int *n_stops) argument 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; local 653 stops = create_random_stops (&n_stops); 660 result = pixman_image_create_linear_gradient (&p1, &p2, stops, n_stops); 670 int n_stops; local 698 int n_stops; local [all...] |
Completed in 337 milliseconds