]> git.saurik.com Git - iphone-api.git/blame - UIKit/UIImage.h
Commit the Preferences folder (for WinterBoard).
[iphone-api.git] / UIKit / UIImage.h
CommitLineData
2cd8f71b
JF
1/*
2 * Generated by class-dump 3.1.2.
3 *
4 * class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2007 by Steve Nygard.
5 */
6
7#import <Foundation/NSObject.h>
8
9typedef enum {
10 UIImageOrientationUp, // default orientation
11 UIImageOrientationDown, // 180 deg rotation
12 UIImageOrientationLeft, // 90 deg CCW
13 UIImageOrientationRight, // 90 deg CW
14 UIImageOrientationUpMirrored, // as above but image mirrored along other axis. horizontal flip
15 UIImageOrientationDownMirrored, // horizontal flip
16 UIImageOrientationLeftMirrored, // vertical flip
17 UIImageOrientationRightMirrored, // vertical flip
18} UIImageOrientation;
19
20@interface UIImage : NSObject
21{
22 void *_imageRef;
23 struct {
24 unsigned int named:1;
25 unsigned int imageOrientation:3;
26 unsigned int cached:1;
27 unsigned int stretchable:1;
28 } _imageFlags;
29}
30
31+ (void)initialize;
32+ (id)imageNamed:(id)fp8;
33+ (id)imageWithContentsOfFile:(id)fp8;
34+ (id)imageWithData:(id)fp8;
35+ (id)imageWithCGImage:(struct CGImage *)fp8;
5e6f78ac
JF
36#if 1 // iOS 4.x
37+ (id)imageWithCGImage:(struct CGImage *)fp8 scale:(CGFloat)scale orientation:(UIImageOrientation)orientation;
38#endif
2cd8f71b
JF
39- (id)initWithContentsOfFile:(id)fp8;
40- (id)initWithData:(id)fp8;
41- (id)initWithCGImage:(struct CGImage *)fp8;
42- (void)dealloc;
43- (struct CGImage *)CGImage;
44- (struct CGSize)size;
45- (int)imageOrientation;
46- (void)drawAtPoint:(struct CGPoint)fp8;
47- (void)drawAtPoint:(struct CGPoint)fp8 blendMode:(int)fp16 alpha:(float)fp20;
48- (void)drawInRect:(struct CGRect)fp8;
49- (void)drawInRect:(struct CGRect)fp8 blendMode:(int)fp24 alpha:(float)fp28;
50- (void)drawAsPatternInRect:(struct CGRect)fp8;
51- (int)leftCapWidth;
52- (int)topCapHeight;
53- (id)stretchableImageWithLeftCapWidth:(int)fp8 topCapHeight:(int)fp12;
54- (id)_automationID;
55
5e6f78ac
JF
56#if 1 // iOS 4.x?
57- (void) setScale:(CGFloat)scale;
58#endif
59
2cd8f71b
JF
60@end
61