cocoaTouch/otherSrc/UIImageExtra.h
author smxx
Fri, 28 May 2010 19:48:51 +0000
changeset 3484 3c65b1d979cd
parent 3463 23c50be687a9
child 3492 07256e1ad559
permissions -rw-r--r--
Engine: * Fixed aiming for Ballgun and Flamethrower
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;
3463
23c50be687a9 update sdl functions to latest revision
koda
parents: 3361
diff changeset
    18
-(UIImage *)convertImageToGrayScale:(UIImage *)image;
3352
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    19
ac5d14a35482 complete previews on the team settings
koda
parents:
diff changeset
    20
@end