cocoaTouch/otherSrc/UIImageExtra.h
changeset 3352 ac5d14a35482
child 3361 cfc6cd502f85
equal deleted inserted replaced
3351:3fd3f116f2fc 3352:ac5d14a35482
       
     1 //
       
     2 //  UIImageExtra.h
       
     3 //  HedgewarsMobile
       
     4 //
       
     5 //  Created by Vittorio on 08/04/10.
       
     6 //  Copyright 2010 __MyCompanyName__. All rights reserved.
       
     7 //
       
     8 
       
     9 #import <Foundation/Foundation.h>
       
    10 
       
    11 
       
    12 @interface UIImage (extra)
       
    13  
       
    14 -(UIImage *)scaleToSize:(CGSize) size;
       
    15 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint;
       
    16 -(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect;
       
    17 
       
    18 @end