• 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
Anti-alias an NSIamgeView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Anti-alias an NSIamgeView


  • Subject: Anti-alias an NSIamgeView
  • From: Ben Mackin <email@hidden>
  • Date: Sat, 23 Nov 2002 17:42:54 -0800

I am trying to figure out how to get my NSImageView to anti-alias. I was
told by someone it should do it automatically, but I know that is not the
case. After some digging, I found the following, but it does nothing:

NSGraphicsContext *myGC= [NSGraphicsContext
graphicsContextWithWindow:faxBrowserWin];
[myGC setShouldAntialias:YES];

My first thought was that maybe this only does something to the window, not
the NSImageView inside of it. If that is the case, I can't seem to find any
way to get the graphicsContext of an NSImageView.

If anyone has some insight, that would be great.

Thanks,
Ben
_______________________________________________
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.

  • Follow-Ups:
    • Re: Anti-alias an NSIamgeView
      • From: email@hidden
  • Prev by Date: Re: An interesting localisation issue
  • Next by Date: drawPageBorderWithSize question
  • Previous by thread: [ANN] Vermont Recipes project files up
  • Next by thread: Re: Anti-alias an NSIamgeView
  • Index(es):
    • Date
    • Thread