Re: Antialiasing an Image
Re: Antialiasing an Image
- Subject: Re: Antialiasing an Image
- From: Scott Anguish <email@hidden>
- Date: Mon, 17 Jun 2002 03:00:30 -0400
On Sunday, June 16, 2002, at 09:30 PM, Sanford Selznick wrote:
Hello,
I have an NSImage that I've read in from a GIF resource. I have an
NSView into which I draw the image with drawAtPoint.
How do I get the image to draw antialiased? (You know, a little
blurry around the edges? ;-)
this is only going to happen if you're scaling the image... are you?
I've tried uttering the following message before my drawAtPoint call
in my view's drawRect function to no avail.
[[NSGraphicsContext currentContext] setShouldAntialias:YES];
(It must be pretty funny for you Cocoa programmers to watch us Carbon
guys stumble around, huh?)
Not funny... some of us old-timers switched before Carbon..
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.