mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 22:37:39 +00:00
* Headers/Additions/GNUstepGUI/GSImageMagickImageRep.h:
* Source/GNUmakefile: * Source/NSImageRep.m: * Source/GSImageMagickImageRep.m: * configure.ac: New ImageMagick-based NSBitmapImageRep subclass git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33399 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
87c05a3ba1
commit
7f4e569c47
8 changed files with 570 additions and 5 deletions
|
@ -45,6 +45,7 @@
|
|||
#import "AppKit/NSColor.h"
|
||||
#import "AppKit/DPSOperators.h"
|
||||
#import "GNUstepGUI/GSGhostscriptImageRep.h"
|
||||
#import "GNUstepGUI/GSImageMagickImageRep.h"
|
||||
|
||||
static NSMutableArray *imageReps = nil;
|
||||
static Class NSImageRep_class = NULL;
|
||||
|
@ -58,9 +59,12 @@ static Class NSImageRep_class = NULL;
|
|||
if (self == [NSImageRep class])
|
||||
{
|
||||
NSImageRep_class = self;
|
||||
imageReps = [[NSMutableArray alloc] initWithCapacity: 2];
|
||||
imageReps = [[NSMutableArray alloc] initWithCapacity: 4];
|
||||
[imageReps addObject: [NSBitmapImageRep class]];
|
||||
[imageReps addObject: [GSGhostscriptImageRep class]];
|
||||
#if HAVE_IMAGEMAGICK
|
||||
[imageReps addObject: [GSImageMagickImageRep class]];
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue