mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-24 07:22:06 +00:00
* 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:
parent
ed3c950428
commit
f79e17387b
5 changed files with 260 additions and 1 deletions
|
@ -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]];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue