not ready for primetime

This commit is contained in:
tth
2021-03-29 10:36:59 +02:00
parent f3c9d85c73
commit 7cf56ea70a
3 changed files with 21 additions and 4 deletions

View File

@@ -22,7 +22,7 @@ if (foo) {
fprintf(stderr, "%s: Kkrkr %d pour create grande\n", __func__, foo);
return -1;
}
fimg_vdeg_a(&grande, 13.37);
fimg_vdeg_a(&grande, 2345);
foo = fimg_create(&incrust, 640, 480, FIMG_TYPE_RGB);
if (foo) {
@@ -31,8 +31,12 @@ if (foo) {
}
// fimg_drand48(&incrust, 13.37);
foo = fimg_load_from_dump("foo.fimg", &incrust);
if (foo) {
fprintf(stderr, "%s: err %d loading image\n", __func__, foo);
return -1;
}
foo = incrustator_0(&incrust, &grande, 100, 100, 0);
foo = incrustator_0(&incrust, &grande, 333, 333, 0);
if (foo) {
fprintf(stderr, "%s: Kkrkr %d sur incrustator_0\n", __func__, foo);
return -1;
@@ -45,6 +49,8 @@ if (foo) {
return -1;
}
fimg_destroy(&incrust); fimg_destroy(&grande);
return 0;
}
/* ---------------------------------------------- ~~~~~~~~~~~~~~~~ */
@@ -52,7 +58,7 @@ int main(int argc, char *argv[])
{
int foo;
verbosity = 1;
verbosity = 2;
fimg_print_version(1);