Anti-alias an NSIamgeView
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.