UIImage+Scaling.h 564 B

123456789101112131415161718
  1. /*****************************************************************************
  2. * UIImage+Scaling.h
  3. * VLC for iOS
  4. *****************************************************************************
  5. * Copyright (c) 2015 VideoLAN. All rights reserved.
  6. * $Id$
  7. *
  8. * Authors: Felix Paul Kühne <fkuehne # videolan.org>
  9. *
  10. * Refer to the COPYING file of the official project for license.
  11. *****************************************************************************/
  12. @interface UIImage (Scaling)
  13. + (UIImage *)scaleImage:(UIImage *)image toFitRect:(CGRect)rect;
  14. @end