X-Git-Url: http://git.ithinksw.org/ITKit.git/blobdiff_plain/3269e9dfcbe058cef9e1da01ab45a93f07ee2be1..e3ecd39c1d3a4803b8d4c051846ad6ad7b059d6f:/ITImageCell.m?ds=sidebyside 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 ) {