source: orbit/iOS/Orbit/Orbit/CorePlotHeaders/CPTImage.h @ cef53d8

ServoTab_Interfacepyramid
Last change on this file since cef53d8 was a9059a5, checked in by Steve Castellotti <sc@…>, 10 years ago

Arduino:

  • updated to permit custom setting of Throttle, Yaw, and Pitch

Android:

  • Minor tweak to Configuration location

iOS:

  • Property mode set to 100644
File size: 986 bytes
Line 
1#import <Foundation/Foundation.h>
2#import <QuartzCore/QuartzCore.h>
3
4@interface CPTImage : NSObject<NSCoding, NSCopying> {
5    @private
6    CGImageRef image;
7    CGFloat scale;
8    BOOL tiled;
9    BOOL tileAnchoredToContext;
10}
11
12@property (nonatomic, readwrite, assign) CGImageRef image;
13@property (nonatomic, readwrite, assign) CGFloat scale;
14@property (nonatomic, readwrite, assign, getter = isTiled) BOOL tiled;
15@property (nonatomic, readwrite, assign) BOOL tileAnchoredToContext;
16
17/// @name Factory Methods
18/// @{
19+(CPTImage *)imageWithCGImage:(CGImageRef)anImage scale:(CGFloat)newScale;
20+(CPTImage *)imageWithCGImage:(CGImageRef)anImage;
21+(CPTImage *)imageForPNGFile:(NSString *)path;
22/// @}
23
24/// @name Initialization
25/// @{
26-(id)initWithCGImage:(CGImageRef)anImage scale:(CGFloat)newScale;
27-(id)initWithCGImage:(CGImageRef)anImage;
28-(id)initForPNGFile:(NSString *)path;
29/// @}
30
31/// @name Drawing
32/// @{
33-(void)drawInRect:(CGRect)rect inContext:(CGContextRef)context;
34/// @}
35
36@end
Note: See TracBrowser for help on using the repository browser.