code: private static Media getMediaDpi(Media media)
      {
          Check.notNull(media);
  
          final DpiType current = dpi;
          if (current == null || current == DpiType.MDPI)
          {
              return media;
          }
          return getClosestDpi(current, media);
      }
docs: Get the associated DPI media.
  
  @param media The original media (must not be <code>null</code>).
  @return The DPI media, or the original media if no associated DPI found.
  @throws LionEngineException If invalid argument.