cocoaTouch/otherSrc/UIImageExtra.h
author palewolf
Sat, 17 Apr 2010 23:03:52 +0000
changeset 3355 dc9e61e67484
parent 3352 ac5d14a35482
child 3361 cfc6cd502f85
permissions -rw-r--r--
cWindSpeed recalculation assumed GetRandom returns a value between 0.0-1.0 while in fact is in the 0.0-0.5 range; Halve cMaxWindSpeed to compensate.

//
//  UIImageExtra.h
//  HedgewarsMobile
//
//  Created by Vittorio on 08/04/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface UIImage (extra)
 
-(UIImage *)scaleToSize:(CGSize) size;
-(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint;
-(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect;

@end