Alfredo Braunstein wrote: > Angus Leeming wrote: > >> Try out the 'correct' way and ascertain just how painful it is. It >> may end up not being very painful at all... > > Not all is black & white. What I fear is that I may be missing that > 'correct' solution... hence I'm asking for opinions.
>From what I understand, it is impossible to ascertain the y-information in a single pass metrics call, right? So you need two metrics passes. Or rather, you need to split draw into a part that updates the x, y store and a part that draws on screen. What you could do is define a no-action painter and pass that to all the draw routines. Might be a quick way of ascertaining whether your strategy cures the problem. -- Angus