docs: protected final MapfishMapContext getLayerTransformer(final MapfishMapContext transformer) {
          MapfishMapContext layerTransformer = transformer;
  
          if (!FloatingPointUtil.equals(transformer.getRotation(), 0.0) && !this.supportsNativeRotation()) {
              // if a rotation is set and the rotation can not be handled natively
              // by the layer, we have to adjust the bounds and map size
              layerTransformer = new MapfishMapContext(
                      transformer,
                      transformer.getRotatedBoundsAdjustedForPreciseRotatedMapSize(),
                      transformer.getRotatedMapSize(),
                      0,
                      transformer.getDPI(),
                      transformer.isForceLongitudeFirst(),
                      transformer.isDpiSensitiveStyle());
          }
  
          return layerTransformer;
      }