On Mon, Nov 10, 2003 at 12:33:03PM +0100, Alfredo Braunstein wrote:
> Andre Poenitz wrote:
> 
> > Something with that idea attached. It solves the particular problem and
> > seems to be a proper solutuion. And removes 30 lines...
> > 
> > Note that we now simply iterator over the insetlist and do not need the
> > row structure anymore.
> 
> Compiling. Note that we should anyway assert on "no rows", be cause "no
> rows" means "no position information at all" so the checkInsetHit call
> would be completely bogus.

No, it means 'no _internal_ position information'.

The xy placement of the inset and its dimension are valid after the
first draw (the dimension even already after the first metrics).

This is sufficient for 'inset hit'.

But I just noticed we need to a bit more careful: If an inset is not
visible anymore (because the user scrolled down) it keeps its xy chace
with bogus values...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one.     (T. Jefferson or B. Franklin or both...)

Reply via email to