Re: "Bouncing" panning canvas



On Thu, 2018-12-06 at 21:55 +0100, Jeff via goocanvas-list wrote:
I've subclassed goocanvas to add panning and zooming via the mouse.
It
works well, apart from the fact that panning tends to "bounce" if the
the user tries to pan too fast.

I use goocanvas to display OCR output and use exactly the same code
to
pan a DrawingArea with a pixbuf of the image from which the OCR
output
came from. The DrawingArea pans smoothly.

Does anyone have any insight what might be going on?

The (Perl) code is below. Stored as canvas.pl, you can run it with

perl canvas.pl


I get "Can't locate GooCanvas2.pm in @INC".

Do you know how to install that for Fedora?

Damon




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]