cocoaTouch/otherSrc/UIImageExtra.h
author smxx
Fri, 07 May 2010 20:38:55 +0000
changeset 3448 b79908461a11
parent 3361 cfc6cd502f85
child 3463 23c50be687a9
permissions -rw-r--r--
Graphics: * Made tinted cap hat lighter and added a team colored version of the animated headband made by "The Pope"
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