[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Re: Link rect and word wrapping.
From:       Tobias Anton <TA () ESC-Electronics ! de>
Date:       2004-09-10 13:23:16
Message-ID: 200409101623.54336.TA () ESC-Electronics ! de
[Download RAW message or body]

On Montag, 6. September 2004 13:57, Leo Savernik wrote:

> Btw, I'm working on a better focus rectangle paint algorithm.
> Tobias? I hope you aren't working on the same ;-)

Well, no. I can't justify spending more time on KDE development at this 
moment.

But I've got a suggestion for the focus outline problem (idea from dirk): A 
QRegion is the union of an arbitrary number of rectangles. It has a 
"tesselation" function which returns a sorted list of rectangles of equal 
height.

Creating a QRegion from all InlineFlowBoxes and iterating through the list of 
tesselated rectangles might be easier and more exact than the solution you 
proposed.

Cheers
-- Tobias
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic