Lines Matching refs:box
28 print_box (pixman_box32_t *box)
30 printf (" %d %d %d %d\n", box->x1, box->y1, box->x2, box->y2);
96 crc32_box32 (uint32_t crc32, pixman_box32_t *box)
98 crc32 = compute_crc32_u32 (crc32, box->x1);
99 crc32 = compute_crc32_u32 (crc32, box->y1);
100 crc32 = compute_crc32_u32 (crc32, box->x2);
101 crc32 = compute_crc32_u32 (crc32, box->y2);
109 pixman_box32_t box;
118 box.x1 = random_coord (®ion, TRUE);
119 box.x2 = box.x1 + prng_rand ();
120 box.y1 = random_coord (®ion, FALSE);
121 box.y2 = box.y1 + prng_rand ();
133 printf ("box:\n");
134 print_box (&box);
139 r1 = pixman_region32_contains_point (®ion, box.x1, box.y1, &rbox);
141 r2 = pixman_region32_contains_point (®ion, box.x1, box.y2, &rbox);
143 r3 = pixman_region32_contains_point (®ion, box.x2, box.y1, &rbox);
145 r4 = pixman_region32_contains_point (®ion, box.x2, box.y2, &rbox);
148 r = pixman_region32_contains_rectangle (®ion, &box);