making graphics2d.setClip(Shape) anti-aliased

hello, i am using the setClip function of graphics2d a lot to only fill a certain area(shape) with a pattern.

my problem is, that the setClip function does not do anti-aliasing which makes the resulting image ugly and jaggy.

i found a workaround to first fill the baseimage with the shape and using AlphaComposite.SRC_OVER and then filling the image again with the pattern using AlphaComposite.SRC_IN which gives me much prettier results. unfortunately this is an additional render-pass which needs quite some performance and which i want to avoid.

so my question is: does anyone know of a way to use the setClip function anti-aliased? thanks!

Here you go:
http://weblogs.java.net/blog/campbell/archive/2006/07/java_2d_tricker.html

Dmitri