Re: Anti-alias an NSIamgeView
Re: Anti-alias an NSIamgeView
- Subject: Re: Anti-alias an NSIamgeView
- From: email@hidden
- Date: Sun, 24 Nov 2002 10:22:11 +0100
On dimanche, novembre 24, 2002, at 02:42 AM, Ben Mackin wrote:
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.
At which ratio is your image drawn inside your NSImageView?
AFAIK, there is no anti-aliasing with NSImageView, there is just image
smoothing.
_______________________________________________
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.