Topic: viewport

Could this screen be always accessible under Help?

Welcome to Simply Fortran
New Users:

Tutorial
Documentation
Support and Assistance:

Contact Approximatrix
Approximatrix Forums
More Information:

Simply Fortran Home
Addon Packages

Re: viewport

clearviewport clears only the current viewport. Is there a way to make a viewport current so I can clear it so I can reuse it?

Re: viewport

tun_day wrote:

clearviewport clears only the current viewport. Is there a way to make a viewport current so I can clear it so I can reuse it?

There is only exactly one viewport ever in AppGraphics, and that is unlikely to change.  You need to call setviewport, clearviewport, and resetviewport in sequence for every area you wish to clear.

You can also just call box with the fill color set to the background color to do the same thing.

Jeff Armstrong
Approximatrix, LLC