As stated in my last article, I tried to render the writing part off screen to create an image off of it and then deform that.
Archiv für die Kategorie „IT“
Proceeding with my article series investigating the use of JavaFX for OpenPatrician, I have come to the deformation part. In this first part I want to investigate JavaFX potential to deform a rectangle into a quadrilateral. This is a non-affine transformation as the parallelism is not maintained. Usually this comes into place if you have a perspective view and have to map a rectangle.
One of the things, that I could never get to work with a Swing application is the full screen mode on a Linux (Ubuntu, Mint) machine. There was always a panel (menu bar) that would be in the way and hide part of the application. Furthermore it is inherently more difficult to handle the proper layout. Therefore I did a quick test with JavaFX to see if these issues have been overcome.
This is the follow up of the previous article on resize with JavaFX. In this article I will show you how I created a Layout manager that has top and left insets which stay constant when the window is resized to a size larger than the original, but reduce proportionally if the size becomes smaller. The second point addressed here are resizable images.