During 'press any key' event:
Code: Select all
printf("Press any key to exit.\n"); kbhit();
Initial image: Window stretched: If I press key, it will exit the graphics window.
It should stretch (including the contents) when its waiting the key pressed.
Also I should be able to save the graphics contents when waiting the key pressed.
What it should look stretched: This case if I press key, it will not exit the graphics and I can then stretch the window size freely so that the contents follow.
Also the 'text scaling' of the labels&title needs some considerations...
I hope to find how to prevent this 'lock down' of graphics during kbhit().
Also the pdf&png export case the text fonts didn't see to be in their place in same manner than on the graphics window displayed: