X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/3269e9dfcbe058cef9e1da01ab45a93f07ee2be1..ae43c1a7ec8eaa7844c69d2bf648b777704cc51c:/ITImageCell.m diff --git a/ITImageCell.m b/ITImageCell.m index d8f38b9..055435a 100755 --- a/ITImageCell.m +++ b/ITImageCell.m @@ -47,7 +47,9 @@ } if ( _scalesSmoothly ) { - CGContextSetInterpolationQuality([[NSGraphicsContext currentContext] graphicsPort], kCGInterpolationHigh); + // CGContextSetInterpolationQuality([[NSGraphicsContext currentContext] graphicsPort], kCGInterpolationHigh); + [[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationHigh]; + [[NSGraphicsContext currentContext] setShouldAntialias:YES]; } if ( castsShadow ) {