From 24b7eb87aabce716b6021a3e781d7edbf022a1b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Preu=C3=9F?= Date: Fri, 1 Jul 2011 01:14:27 -0700 Subject: [PATCH] use UIGraphicsBeginImageContextWithOptions(size, NO, 0.0) to take advantage of retina display scale factor --- OpenFlow/AFUIImageReflection.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenFlow/AFUIImageReflection.m b/OpenFlow/AFUIImageReflection.m index 65e7529..b117cec 100644 --- a/OpenFlow/AFUIImageReflection.m +++ b/OpenFlow/AFUIImageReflection.m @@ -74,7 +74,7 @@ - (UIImage *)addImageReflection:(CGFloat)reflectionFraction { CGSize size = CGSizeMake(self.size.width, self.size.height + reflectionHeight); - UIGraphicsBeginImageContext(size); + UIGraphicsBeginImageContextWithOptions(size, NO, 0.0); [self drawAtPoint:CGPointZero]; CGContextRef context = UIGraphicsGetCurrentContext();