From 0ff596bcc00203ad043403f8a2da04e9800adee1 Mon Sep 17 00:00:00 2001 From: FredKiefer Date: Sat, 11 Aug 2001 18:33:01 +0000 Subject: [PATCH] Added declaration of [compositeToPoint:fromRect:operation:fraction:], [compositeToPoint:operation:fraction:], [drawAtPoint:fromRect:operation:fraction:] and [drawInRect:fromRect:operation:fraction:] git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@10677 72102866-910b-0410-8b05-ffd578937521 --- Headers/gnustep/gui/NSImage.h | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Headers/gnustep/gui/NSImage.h b/Headers/gnustep/gui/NSImage.h index e8b85d6d9..a5711c0c1 100644 --- a/Headers/gnustep/gui/NSImage.h +++ b/Headers/gnustep/gui/NSImage.h @@ -120,6 +120,16 @@ fromRect: (NSRect)aRect fraction: (float)aFloat; +#ifndef STRICT_OPENSTEP +- (void) compositeToPoint: (NSPoint)aPoint + fromRect: (NSRect)srcRect + operation: (NSCompositingOperation)op + fraction: (float)delta; +- (void) compositeToPoint: (NSPoint)aPoint + operation: (NSCompositingOperation)op + fraction: (float)delta; +#endif + // // Choosing Which Image Representation to Use // @@ -147,6 +157,22 @@ - (void) setCacheDepthMatchesImageDepth: (BOOL)flag; - (BOOL) cacheDepthMatchesImageDepth; +// +// Drawing +// +- (BOOL) drawRepresentation: (NSImageRep*)imageRep + inRect: (NSRect)aRect; +#ifndef STRICT_OPENSTEP +- (void) drawAtPoint: (NSPoint)point + fromRect: (NSRect)srcRect + operation: (NSCompositingOperation)op + fraction: (float)delta; +- (void) drawInRect: (NSRect)dstRect + fromRect: (NSRect)srcRect + operation: (NSCompositingOperation)op + fraction: (float)delta; +#endif + // // Determining How the Image is Drawn // @@ -155,8 +181,6 @@ - (BOOL) scalesWhenResized; - (void) setBackgroundColor: (NSColor*)aColor; - (NSColor*) backgroundColor; -- (BOOL) drawRepresentation: (NSImageRep*)imageRep - inRect: (NSRect)aRect; - (void) recache; - (void) setFlipped: (BOOL)flag; - (BOOL) isFlipped; @@ -209,3 +233,4 @@ #endif #endif // _GNUstep_H_NSImage +