project_files/HedgewarsMobile/Classes/UIImageExtra.h
changeset 4478 05029b4d8490
parent 4446 3093791dc620
child 4976 088d40d8aba2
equal deleted inserted replaced
4476:4bf74e158f44 4478:05029b4d8490
    26 
    26 
    27 CGFloat getScreenScale(void);
    27 CGFloat getScreenScale(void);
    28 
    28 
    29 -(UIImage *)scaleToSize:(CGSize) size;
    29 -(UIImage *)scaleToSize:(CGSize) size;
    30 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint;
    30 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint;
    31 -(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint ofSize:(CGSize) resultingSize;
       
    32 -(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect;
    31 -(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect;
    33 -(UIImage *)cutAt:(CGRect) rect;
    32 -(UIImage *)cutAt:(CGRect) rect;
    34 -(UIImage *)convertToGrayScale;
    33 -(UIImage *)convertToGrayScale;
    35 -(UIImage *)convertToNegative;
    34 -(UIImage *)convertToNegative;
    36 -(UIImage *)maskImageWith:(UIImage *)maskImage;
    35 -(UIImage *)maskImageWith:(UIImage *)maskImage;