• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Antialiasing an Image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Antialiasing an Image (From: Sanford Selznick <email@hidden>)

  • Prev by Date: Re: How to add an application to the login items?
  • Next by Date: Re: Wedgies anyone ?
  • Previous by thread: Antialiasing an Image
  • Next by thread: file will not open in NSDocument-based app
  • Index(es):
    • Date
    • Thread