project_files/HedgewarsMobile/Classes/UIImageExtra.h
changeset 3948 24daa33a3114
parent 3910 dd47efbdec46
child 4446 3093791dc620
equal deleted inserted replaced
3947:709fdb89f76c 3948:24daa33a3114
    24 
    24 
    25 @interface UIImage (extra)
    25 @interface UIImage (extra)
    26  
    26  
    27 -(UIImage *)scaleToSize:(CGSize) size;
    27 -(UIImage *)scaleToSize:(CGSize) size;
    28 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint;
    28 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint;
    29 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint atSize:(CGSize) resultingSize;
    29 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint ofSize:(CGSize) resultingSize;
    30 -(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect;
    30 -(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect;
    31 -(UIImage *)cutAt:(CGRect) rect;
    31 -(UIImage *)cutAt:(CGRect) rect;
    32 -(UIImage *)convertToGrayScale;
    32 -(UIImage *)convertToGrayScale;
    33 -(UIImage *)convertToNegative;
    33 -(UIImage *)convertToNegative;
    34 -(UIImage *)maskImageWith:(UIImage *)maskImage;
    34 -(UIImage *)maskImageWith:(UIImage *)maskImage;