UIImage+HBClass.h 393 B

12345678910111213141516171819
  1. //
  2. // UIImage+HBClass.h
  3. // MyTest
  4. //
  5. // Created by weqia on 13-7-30.
  6. // Copyright (c) 2013年 weqia. All rights reserved.
  7. //
  8. #import <UIKit/UIKit.h>
  9. @interface UIImage (HBClass)
  10. //按原图比例返回限定大小的图片 (未剪切)
  11. -(UIImage*) getLimitImage:(CGSize) size;
  12. // 按原图比例返回限定大小的图片(剪切)
  13. -(UIImage*) getClickImage:(CGSize) size;
  14. @end