2009-06-05 14:14:27 -06:00
|
|
|
#include <stdlib.h>
|
2012-08-17 10:15:20 -06:00
|
|
|
#include "utils.h"
|
2009-06-05 14:14:27 -06:00
|
|
|
|
|
|
|
int
|
|
|
|
main()
|
|
|
|
{
|
|
|
|
pixman_image_t *dst;
|
2013-12-01 13:34:20 -07:00
|
|
|
pixman_trapezoid_t traps[] = {
|
2009-06-05 14:14:27 -06:00
|
|
|
{
|
2011-07-24 07:05:47 -06:00
|
|
|
2147483646,
|
|
|
|
2147483647,
|
|
|
|
{
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 2147483647 }
|
2009-06-05 14:14:27 -06:00
|
|
|
},
|
2011-07-24 07:05:47 -06:00
|
|
|
{
|
|
|
|
{ 65536, 0 },
|
|
|
|
{ 0, 2147483647 }
|
2009-06-05 14:14:27 -06:00
|
|
|
}
|
|
|
|
},
|
2013-12-01 13:34:20 -07:00
|
|
|
{
|
|
|
|
32768,
|
|
|
|
- 2147483647,
|
|
|
|
{
|
|
|
|
{ 0, 0 },
|
|
|
|
{ 0, 2147483647 }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{ 65536, 0 },
|
|
|
|
{ 0, 2147483647 }
|
|
|
|
}
|
|
|
|
},
|
2009-06-05 14:14:27 -06:00
|
|
|
};
|
2011-07-24 07:05:47 -06:00
|
|
|
|
2009-06-05 14:14:27 -06:00
|
|
|
dst = pixman_image_create_bits (PIXMAN_a8, 1, 1, NULL, -1);
|
2011-07-24 07:05:47 -06:00
|
|
|
|
2012-08-17 10:15:20 -06:00
|
|
|
pixman_add_trapezoids (dst, 0, 0, ARRAY_LENGTH (traps), traps);
|
2009-06-05 14:14:27 -06:00
|
|
|
return (0);
|
|
|
|
}
|