My program shows slow rendering when i am dealing with hundreds of lines/arcs 
to draw. Panning even when the canvas is zoomed in a particular point seems to 
be laggy. Using (time ..) to snoop around, it looks like draw-objects in 
"canvas.rkt" is to blame. Is there a way i can fix this?

https://github.com/xtrntr/DXF-Converter

You run the program from "main-window.rkt", then drag dxf files in the DXF 
folder into the fram and interact with the 2d drawing as follows:

ctrl drag to select elements
esc to unselect elements
click and drag to pan about
scroll up and down to zoom in/out

"KCF new FIPG .. .dxf" in the folder DXF has ~1200 elements
"1. DFX .. .dxf" in the same folder has ~500 elements

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to