mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 12:10:37 +00:00
Added NSCoding Protocol and moved extension methods into seperate
interface. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8277 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c3b0028f40
commit
bced436a2d
1 changed files with 3 additions and 1 deletions
|
@ -41,7 +41,7 @@ typedef struct {
|
|||
float ty;
|
||||
} NSAffineTransformStruct;
|
||||
|
||||
@interface NSAffineTransform : NSObject <NSCopying>
|
||||
@interface NSAffineTransform : NSObject <NSCopying, NSCoding>
|
||||
{
|
||||
@public
|
||||
NSAffineTransformStruct matrix;
|
||||
|
@ -65,8 +65,10 @@ typedef struct {
|
|||
- (NSSize) transformSize: (NSSize)aSize;
|
||||
- (NSAffineTransformStruct) transformStruct;
|
||||
- (void) translateXBy: (float)tranX yBy: (float)tranY;
|
||||
@end
|
||||
|
||||
#ifndef NO_GNUSTEP
|
||||
@interface NSAffineTransform (GNUstep)
|
||||
+ (NSAffineTransform*) matrixFrom: (const float[6])matrix;
|
||||
- (void) translateToPoint: (NSPoint)point;
|
||||
- (void) rotateByAngle: (float)angle;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue