X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/3269e9dfcbe058cef9e1da01ab45a93f07ee2be1..475a1064c9d3637e7fae211d7a18d411c1178af0:/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 ) {