FROM : Jean-Daniel Dupas
DATE : Fri Feb 29 11:15:19 2008
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?
>
> Thanks,
> ->Ben
> --
> Ben Lachman
> Acacia Tree Software
Try this:
[[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationHigh];
DATE : Fri Feb 29 11:15:19 2008
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?
>
> Thanks,
> ->Ben
> --
> Ben Lachman
> Acacia Tree Software
Try this:
[[NSGraphicsContext currentContext]
setImageInterpolation:NSImageInterpolationHigh];
| Related mails | Author | Date |
|---|---|---|
| Ben Lachman | Feb 29, 10:50 | |
| Jean-Daniel Dupas | Feb 29, 11:15 | |
| Ben Lachman | Feb 29, 20:49 | |
| Graham | Mar 3, 23:43 |






Cocoa mail archive

