projects
/
profile
/
ivi
/
pixman.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add packaging files for Tizen
[profile/ivi/pixman.git]
/
test
/
trap-crasher.c
1
#include <stdlib.h>
2
#include "utils.h"
3
4
int
5
main()
6
{
7
pixman_image_t *dst;
8
pixman_trapezoid_t traps[1] = {
9
{
10
2147483646,
11
2147483647,
12
{
13
{ 0, 0 },
14
{ 0, 2147483647 }
15
},
16
{
17
{ 65536, 0 },
18
{ 0, 2147483647 }
19
}
20
},
21
};
22
23
dst = pixman_image_create_bits (PIXMAN_a8, 1, 1, NULL, -1);
24
25
pixman_add_trapezoids (dst, 0, 0, ARRAY_LENGTH (traps), traps);
26
return (0);
27
}