Skip to content

add a method for rapidly panning / scaling the view #1105

@leeoniya

Description

@leeoniya

path rebuilds can be expensive, so things like mouse-drag with large datasets can become problematic.

it should be possible to re-use the internally-cached Path2D objects and construct a transformation matrix to draw them in a shifted or scaled location while dragging, then do a real redraw & path rebuild when the mouse is released. should help a lot.

something like u.shift(hzPx, vtPx)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions