1996-08-22 18:51:08 +00:00
|
|
|
/*
|
1996-05-30 20:03:15 +00:00
|
|
|
NSEPSImageRep.m
|
|
|
|
|
1996-08-22 18:51:08 +00:00
|
|
|
EPS image representation.
|
1996-05-30 20:03:15 +00:00
|
|
|
|
|
|
|
Copyright (C) 1996 Free Software Foundation, Inc.
|
|
|
|
|
1996-08-22 18:51:08 +00:00
|
|
|
Written by: Adam Fedor <fedor@colorado.edu>
|
|
|
|
Date: Feb 1996
|
|
|
|
|
|
|
|
This file is part of the GNUstep Application Kit Library.
|
1996-05-30 20:03:15 +00:00
|
|
|
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU Library General Public
|
|
|
|
License as published by the Free Software Foundation; either
|
|
|
|
version 2 of the License, or (at your option) any later version.
|
|
|
|
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
Library General Public License for more details.
|
1996-08-22 18:51:08 +00:00
|
|
|
|
1996-05-30 20:03:15 +00:00
|
|
|
If you are interested in a warranty or support for this source code,
|
|
|
|
contact Scott Christley <scottc@net-community.com> for more information.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
|
|
License along with this library; if not, write to the Free
|
|
|
|
Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
1996-08-22 18:51:08 +00:00
|
|
|
*/
|
1996-05-30 20:03:15 +00:00
|
|
|
|
1996-08-22 18:51:08 +00:00
|
|
|
#include <AppKit/NSEPSImageRep.h>
|
1996-05-30 20:03:15 +00:00
|
|
|
|
1996-08-22 18:51:08 +00:00
|
|
|
@implementation NSEPSImageRep
|
1996-05-30 20:03:15 +00:00
|
|
|
|
|
|
|
// Initializing a New Instance
|
1996-08-22 18:51:08 +00:00
|
|
|
+ (id) imageRepWithData: (NSData *)epsData
|
1996-05-30 20:03:15 +00:00
|
|
|
{
|
1996-08-22 18:51:08 +00:00
|
|
|
[self notImplemented: _cmd];
|
|
|
|
return self;
|
1996-05-30 20:03:15 +00:00
|
|
|
}
|
1996-08-22 18:51:08 +00:00
|
|
|
- (id) initWithData: (NSData *)epsData
|
1996-05-30 20:03:15 +00:00
|
|
|
{
|
1996-08-22 18:51:08 +00:00
|
|
|
[self notImplemented: _cmd];
|
|
|
|
return self;
|
1996-05-30 20:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Getting Image Data
|
1996-08-22 18:51:08 +00:00
|
|
|
- (NSRect) boundingBox
|
1996-05-30 20:03:15 +00:00
|
|
|
{
|
1996-08-22 18:51:08 +00:00
|
|
|
NSRect rect;
|
|
|
|
[self notImplemented: _cmd];
|
|
|
|
return rect;
|
1996-05-30 20:03:15 +00:00
|
|
|
}
|
|
|
|
|
1996-08-22 18:51:08 +00:00
|
|
|
- (NSData *) EPSRepresentation
|
1996-05-30 20:03:15 +00:00
|
|
|
{
|
1996-08-22 18:51:08 +00:00
|
|
|
[self notImplemented: _cmd];
|
1996-05-30 20:03:15 +00:00
|
|
|
return nil;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Drawing the Image
|
1996-08-22 18:51:08 +00:00
|
|
|
- (void) prepareGState
|
|
|
|
{
|
|
|
|
[self notImplemented: _cmd];
|
|
|
|
}
|
1996-05-30 20:03:15 +00:00
|
|
|
|
|
|
|
// NSCoding protocol
|
1996-08-22 18:51:08 +00:00
|
|
|
- (void) encodeWithCoder: aCoder
|
1996-05-30 20:03:15 +00:00
|
|
|
{
|
1996-08-22 18:51:08 +00:00
|
|
|
[self notImplemented: _cmd];
|
1996-05-30 20:03:15 +00:00
|
|
|
}
|
|
|
|
|
1996-08-22 18:51:08 +00:00
|
|
|
- initWithCoder: aDecoder
|
1996-05-30 20:03:15 +00:00
|
|
|
{
|
1996-08-22 18:51:08 +00:00
|
|
|
[self notImplemented: _cmd];
|
1996-05-30 20:03:15 +00:00
|
|
|
return self;
|
|
|
|
}
|
|
|
|
|
|
|
|
@end
|
1996-08-22 18:51:08 +00:00
|
|
|
|
|
|
|
|