Hi Mark,

> On Mon, 2005-10-10 at 10:20 +0000, [EMAIL PROTECTED] wrote:
> > -        Rectangle clip = oldClip.intersection(bounds);
> > -        if (clip.isEmpty())
> > +        if (g.hitClip(bounds.x, bounds.y, bounds.width, bounds.height))
> >            continue;
> 
> Our default Graphics doesn't have this method implemented. Of course the
> simple implementation is just what you did here previously so we can add
> that to Graphics. Or do you have a real implementation of hitClip()
> already in your tree?

I noticed that too. The simple implementation should be ok for Graphics,
since in Graphics only Rectangles are used as clip AFAICS. I will fix
that now.

/Roman

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to