I’ve noticed a significant performance difference between win32 and win32gdk (using 3.10/0 sources dated October 02, 2003, 10:18 AM.) I’ve attached a script that illustrates the problem: It generates a 2D histogram and my TExec() (used gPad->AddExec(“ex1”,“event()”) superimposes a circle that is sized dynamically. Perhaps it not the right way to do it and I’m willing to do it differently. To run the script (I borrowed histogram filling fron tutorials/fit2.c), do the following:
.L demo.c
Start()
Then button-down on a point on the TH2 - this will fixes a point on the circle. Dragging positions an antipodal point and button-up terminates the TExec. Note: in my actual implementation, everything is compiled and the effect is just a pronounced.
Is the problem with my code? Or is it as problem with win32gdk? Thanks for you help!
Ed Oltman
demo.c (2.28 KB)