Hi all, I have what I feel should be a stupidly simple question but the answer is eluding me.
I have a custom UIView (actually, UIControl) that uses Core Graphics to draw its content. This works fine. I then rotate the UIView (using the transform property of the view), which gives a rotated view but with edge aliasing. This is my problem: how do I properly antialias a rotated UIView? I naively tried calling in the drawing code what I would think are the relevant functions (e.g. CGContextSetAllowsAntialiasing and CGContextSetShouldAntialias) but they have no effect. This matter has been discussed somewhat online (e.g. http://stackoverflow.com/questions/2465645/how-to-anti-alias-layers-in-iphoneos) but the proposed solution - adding a one pixel transparent border - seems clumsy and inelegant, which makes me wonder if there's a better way. Any ideas? Thanks in advance. (P.S.- I apologize if this has been discussed here before; Apple's list archive search is being unresponsive for me.) -- Conrad Shultz www.synthetiqsolutions.com_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com