mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
vizdirect: use all three scaling types #759
This commit is contained in:
parent
b698efb953
commit
74b44506b6
@ -16,7 +16,13 @@ int main(void){
|
|||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
sleep(1);
|
sleep(1);
|
||||||
if(ncdirect_render_image(n, "../data/changes.jpg", NCBLIT_DEFAULT, NCSCALE_STRETCH) != NCERR_SUCCESS){
|
printf("\n");
|
||||||
|
if(ncdirect_render_image(n, "../data/changes.jpg", NCBLIT_DEFAULT, NCSCALE_SCALE) != NCERR_SUCCESS){
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
|
sleep(1);
|
||||||
|
printf("\n");
|
||||||
|
if(ncdirect_render_image(n, "../data/warmech.bmp", NCBLIT_DEFAULT, NCSCALE_NONE) != NCERR_SUCCESS){
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
if(ncdirect_stop(n)){
|
if(ncdirect_stop(n)){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user