[PD] how to capture window-related mouse-events when toxy is discontinued?

Mathieu Bouchard matju at artengine.ca
Fri Nov 4 18:54:05 CET 2011


Le 2011-11-04 à 10:37:00, Jonathan Wilkes a écrit :

> It seems like it does redraw stuff between the delete and create for a 
> scalar with enough canvas items associated with it.  For example, if you 
> make a ds array where each element is a little 10x10 rectangle and plot 
> it with an array size greater than 100, you start to get a kind of 
> strobing effect over the entire array when moving one element with the 
> mouse.

Ok, whenever you do see it blink, then it's probably quite less efficient 
than with «coords».

(though sometimes, some benchmarks give surprising results. but it's hard 
to benchmark it completely... I had to modify Tk to get it to print the 
time it takes to redraw, because that part of Tk isn't overridable from 
Tcl nor from a C plugin for Tcl).

  ______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC


More information about the Pd-list mailing list