aboutsummaryrefslogtreecommitdiff
path: root/AppKit/GTMNSImage+Scaling.h
diff options
context:
space:
mode:
Diffstat (limited to 'AppKit/GTMNSImage+Scaling.h')
-rw-r--r--AppKit/GTMNSImage+Scaling.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/AppKit/GTMNSImage+Scaling.h b/AppKit/GTMNSImage+Scaling.h
index 297d18c..6bf2dd5 100644
--- a/AppKit/GTMNSImage+Scaling.h
+++ b/AppKit/GTMNSImage+Scaling.h
@@ -26,8 +26,12 @@
// Return an existing representation of a size
- (NSImageRep *)gtm_representationOfSize:(NSSize)size;
+#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
// Return the exact or next largest representation for a size
+// If you are on SnowLeopard use
+// -[NSImage bestRepresentationForRect:context:hints:]
- (NSImageRep *)gtm_bestRepresentationForSize:(NSSize)size;
+#endif
// Create a new represetation for a given size
- (BOOL)gtm_createRepresentationOfSize:(NSSize)size;