Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!news-xxxfer.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail From: "Peter Duniho" Subject: Re: Anti-aliasing in imag Message-ID: X-Comment-To: comp.lang.java.gui,comp.l Newsgroups: comp.lang.java.gui In-Reply-To: <48a3826d$0$2239$ec3e2dad@news.usenetmonster.com> wrote: > On Wed, 13 Aug 2008 23:22:33 -0700, Peter Duniho wrote: > >> On Wed, 13 Aug 2008 22:59:01 -0700, Knute Johnson >> wrote: >> >>> Graphics2D.clip() does not anti-alias. >> >> It does on my Mac. YMMV. > > I'm not seeing it here either. Let me take a closer look. I should be > able to see the anti-aliasing even on a simple mat background shouldn't > I? I'm not entirely sure what you mean. Did you mean "matte background", as in a single-color background? If so, then assuming the background is a different color than that on which you're viewing the transformed (clipped) version, yes...I'd think you should be able to note the anti-aliasing, if it's happening. Now, that said...spurred by yours and Knute's comments, I tried _disabling_ anti-aliasing in my code, and I still get anti-aliased rendering. This makes me suspect that the anti-aliasing is being done at the platform level, not under the control of the Java run-time itself. So, I guess the best answer I can provide is "run your code on a Mac". :) As a solution to your immediate problem, you may find that overkill. I can't say that I'd disagree. But it's all I can come up with at the moment. :) Pete --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24