classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cp-patches] FYI: JComponent optimization


From: Roman Kennke
Subject: Re: [cp-patches] FYI: JComponent optimization
Date: Mon, 10 Oct 2005 13:58:22 +0200

Hi Mark,

> On Mon, 2005-10-10 at 10:20 +0000, address@hidden 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]