private Transform getTransform ( ) { final Resolution output = config . getOutput ( ) ; final double scaleX = output . getWidth ( ) / ( double ) source . getWidth ( ) ; final double scaleY = output . getHeight ( ) / ( double ) source . getHeight ( ) ; return filter . getTransform ( scaleX , scaleY ) ; }
Get the transform associated to the filter keeping screen scale independent .