code: 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);
      }
docs: Get the transform associated to the filter keeping screen scale independent.
  
  @return The associated transform instance.