work on experiment code

This commit is contained in:
tth
2021-05-10 00:44:29 +02:00
parent 73b8048dea
commit 0ea39f2f9a
6 changed files with 14 additions and 25 deletions

View File

@@ -72,6 +72,13 @@ return -1;
}
/* --------------------------------------------------------------------- */
int print_rectangle(char *str, FimgArea51 *rect)
{
printf("rect @ %p '%s':\n\t %dx%d at %d,%d\n", rect, str,
rect->w, rect->h, rect->x, rect->y);
return 0;
}
/* ---------------------------------------------- ~~~~~~~~~~~~~~~~ */
/*
* /!\ return 4 on success
*/