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: Mark Wielaard
Subject: Re: [cp-patches] FYI: JComponent optimization
Date: Mon, 10 Oct 2005 13:45:02 +0200

Hi Roman,

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?

Cheers,

Mark

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

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