cocoaTouch/otherSrc/UIImageExtra.h
author koda
Sun, 16 May 2010 17:23:30 +0000
changeset 3463 23c50be687a9
parent 3361 cfc6cd502f85
child 3492 07256e1ad559
permissions -rw-r--r--
update sdl functions to latest revision add a grayscale utility to uiimage implement a preliminary support for chatting revert rotation changes for engine lots of code cleanup restored main event loop in hwengine fix some sdl bindings
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