Skip navigation.
 
mlRe: Anti-alias an NSIamgeView
FROM : ssudre2
DATE : Sun Nov 24 10:22:11 2002

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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlInitializing an NSView derivative's variables... Jiva DeVoe Aug 18, 08:16
mlAnti-alias an NSIamgeView Ben Mackin Nov 24, 02:42
mlRe: Anti-alias an NSIamgeView ssudre2 Nov 24, 10:22
mlRe: Anti-alias an NSIamgeView Ben Mackin Nov 24, 20:34
mlRe: Anti-alias an NSIamgeView Dennis De Mars Nov 25, 03:12
mlRe: Anti-alias an NSIamgeView Ben Mackin Nov 25, 03:26
mlRe: Anti-alias an NSIamgeView Dennis De Mars Nov 25, 04:30
mlRe: Initializing an NSView derivative's variables... Roarke Lynch Aug 19, 07:11