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.
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 mails | Author | Date |
|---|---|---|
| Jiva DeVoe | Aug 18, 08:16 | |
| Ben Mackin | Nov 24, 02:42 | |
| ssudre2 | Nov 24, 10:22 | |
| Ben Mackin | Nov 24, 20:34 | |
| Dennis De Mars | Nov 25, 03:12 | |
| Ben Mackin | Nov 25, 03:26 | |
| Dennis De Mars | Nov 25, 04:30 | |
| Roarke Lynch | Aug 19, 07:11 |






Cocoa mail archive

