cocoaTouch/otherSrc/UIImageExtra.h
author nemo
Sun, 02 May 2010 04:49:07 +0000
changeset 3397 c47af0694a7d
parent 3361 cfc6cd502f85
child 3463 23c50be687a9
permissions -rw-r--r--
Revert removal of CurAmmoGear from shotgun/deagle (was a silly idea of speeding up the shots) Some speculative portal tests.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3352
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     1
//
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     2
//  UIImageExtra.h
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     3
//  HedgewarsMobile
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     4
//
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     5
//  Created by Vittorio on 08/04/10.
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     7
//
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     8
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
     9
#import <Foundation/Foundation.h>
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    10
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    11
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    12
@interface UIImage (extra)
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    13
 
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    14
-(UIImage *)scaleToSize:(CGSize) size;
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    15
-(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint;
3361
cfc6cd502f85 buttons for number of hogs in game config
koda
parents: 3352
diff changeset
    16
-(UIImage *)mergeWith:(UIImage *)secondImage atPoint:(CGPoint) secondImagePoint atSize:(CGSize) resultingSize;
3352
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    17
-(id) initWithContentsOfFile:(NSString *)path andCutAt:(CGRect) rect;
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    18
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    19
@end