2020-05-11 15:52:05 +00:00
|
|
|
#import <AppKit/NSRaise.h>
|
2010-03-08 16:18:32 +00:00
|
|
|
#import <Foundation/NSKeyedUnarchiver.h>
|
|
|
|
#import <Foundation/NSString.h>
|
2020-05-11 15:52:05 +00:00
|
|
|
#import <QuartzCore/CIAffineTransform.h>
|
2010-03-08 16:18:32 +00:00
|
|
|
|
|
|
|
@implementation CIAffineTransform
|
|
|
|
|
2020-05-11 15:52:05 +00:00
|
|
|
- (void) encodeWithCoder: (NSCoder *) coder {
|
|
|
|
NSUnimplementedMethod();
|
2010-03-08 16:18:32 +00:00
|
|
|
}
|
|
|
|
|
2020-05-11 15:52:05 +00:00
|
|
|
- initWithCoder: (NSCoder *) coder {
|
|
|
|
if ([coder allowsKeyedCoding]) {
|
|
|
|
NSKeyedUnarchiver *keyed = (NSKeyedUnarchiver *) coder;
|
|
|
|
|
|
|
|
_transform = [[keyed decodeObjectForKey: @"CI_inputTransform"] copy];
|
|
|
|
_ciEnabled = [keyed decodeBoolForKey: @"CIEnabled"];
|
|
|
|
}
|
|
|
|
return self;
|
2010-03-08 16:18:32 +00:00
|
|
|
}
|
|
|
|
|
2020-05-11 15:52:05 +00:00
|
|
|
- (void) dealloc {
|
|
|
|
[_transform release];
|
|
|
|
[super dealloc];
|
2010-03-08 16:18:32 +00:00
|
|
|
}
|
|
|
|
|
2020-05-11 15:52:05 +00:00
|
|
|
- (NSAffineTransform *) affineTransform {
|
|
|
|
return _transform;
|
2010-03-08 16:18:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@end
|