* Source/GSGhostscriptImageRep.m:

* Headers/Additions/GNUstepGUI/GSGhostscriptImageRep.h:
* Source/GNUmakefile:
* Source/NSImageRep.m: New image rep which attempts to
invoke Ghostscript to rasterize PS/EPS/PDF images. It needs
some polishing but basically works.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33389 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Eric Wasylishen 2011-06-27 05:45:40 +00:00
parent ed3c950428
commit f79e17387b
5 changed files with 260 additions and 1 deletions

View file

@ -44,6 +44,7 @@
#import "AppKit/NSView.h"
#import "AppKit/NSColor.h"
#import "AppKit/DPSOperators.h"
#import "GNUstepGUI/GSGhostscriptImageRep.h"
static NSMutableArray *imageReps = nil;
static Class NSImageRep_class = NULL;
@ -59,7 +60,7 @@ static Class NSImageRep_class = NULL;
NSImageRep_class = self;
imageReps = [[NSMutableArray alloc] initWithCapacity: 2];
[imageReps addObject: [NSBitmapImageRep class]];
//[imageReps addObject: [NSEPSImageRep class]];
[imageReps addObject: [GSGhostscriptImageRep class]];
}
}