If the standard anti-aliasing at that size isn't adequate, it might be worth trying to do the rotation at a larger size then scale down the result to the desired size.

Worth a try?


--------
S.O.S.


On 01/03/2008, at 6:49 AM, Ben Lachman wrote:

On Feb 29, 2008, at 5:15 AM, Jean-Daniel Dupas wrote:

Le 29 févr. 08 à 10:50, Ben Lachman a écrit :
I have some stuff that I draw rotated a small amount (~10 degrees) and the lines looks a little bit chunky for my tastes. You can see an example at: <http://www.acaciatreesoftware.com/bad- anti-aliasing.png>.

Is there any way to coax better antialiasing out of drawing things at this small an angle?



Try this:

[[NSGraphicsContext currentContext] setImageInterpolation:NSImageInterpolationHigh];


I'm already doing this unfortunately...  Any other thoughts?

Thanks,

->Ben

--
Ben Lachman
Acacia Tree Software

http://acaciatreesoftware.com

[EMAIL PROTECTED]
740.590.0009

_______________________________________________

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/graham% 40ictinternational.com.au

This email sent to [EMAIL PROTECTED]

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to