First commit, added all projects

This commit is contained in:
2026-05-31 14:39:57 -04:00
commit d2930f7af5
247 changed files with 22376354 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
package math;
import java.awt.geom.AffineTransform;
import java.awt.geom.Rectangle2D;
/**
*
*/
public interface ViewTransformation
{
/**
* @return The last reflection.
*/
public AffineTransform getLastReflection();
/**
* @return The last transform.
*/
public AffineTransform getLastTransform();
/**
* @param displayBounds
* The bounds of the display area
* @param contentBounds
* The bounds of the content area
* @return The transform that maps content coordinates to display coordinates, while maintaining
* the aspect ratio of the content. The content is reflected across the horizontal axis to
* match the typical display coordinate system where the y-axis increases downwards. The
* transformation also centers the content within the display bounds.
*/
public AffineTransform getTransform(final Rectangle2D displayBounds,
final Rectangle2D contentBounds);
}