[Biojava-l] SequencePanel revisited
Thomas Down
td2@sanger.ac.uk
Tue, 4 Sep 2001 18:05:11 +0100
On Tue, Sep 04, 2001 at 05:53:18PM +0100, Keith James wrote:
>
> I've been hacking away at the problem of Renderers drawing at high
> sequence/graphics coordinates. I've written another implementation of
> SequenceRenderContext which borrows code from SequencePanel (and a
> concept from Artemis); it always draws from zero placed at the edge of
> the visible area and uses a translation to offset the drawing frame up
> and down a long sequence. The translation can be hooked up to a
> scrollbar to get something indistinguishable from SequencePanel.
>
> Any ideas on what to call it? TranslatedSequencePanel is a bit
> misleading because the sequence is translated in the graphics sense,
> not the biological sense, but it's the best I can think of right now.
>
> As a bonus, it runs about 6x faster than SequencePanel. I'll check it
> in when I've got the usual docs/demo package together.
Wow, how did you get the speedup?
I'll hold off doing a new das-client release until I've seen
this...
If this does all the things that the current SequencePanel
does, I'd be inclined to just call it SequencePanel and
be done with it :-).
Thanks for looking at this,
Thomas.