[racket-users] DrRacket debugger error

2016-05-10 Thread copycat
I get the following error: module: cannot use identifier tainted by macro transformation in: module when i try to debug a multi-file program with both untyped and typed scripts in it. If it's just untyped scripts it will work fine. -- You received this message because you are subscribed to th

Re: [racket-users] slow rendering for 1000+ lines/arcs

2016-02-23 Thread copycat
h%`, and then using `draw-path`. That > strategy only works for parts to be drawn with the same pen, though. > > Another common strategy is to render the drawing into a bitmap and copy > the bitmap the screen for panning but that may not be so easy to > implement with zooming. > &g

[racket-users] slow rendering for 1000+ lines/arcs

2016-02-22 Thread copycat
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://

[racket-users] Re: Extending list-box functionality

2015-07-23 Thread copycat
On Thursday, July 23, 2015 at 2:50:37 PM UTC+8, copycat wrote: > With a list box, i can select multiple items by holding onto my mouse and > dragging. I'll like to add on other features to the list box like being able > to drag the rows to reorder them, or to change the list-box v

[racket-users] Extending list-box functionality

2015-07-22 Thread copycat
With a list box, i can select multiple items by holding onto my mouse and dragging. I'll like to add on other features to the list box like being able to drag the rows to reorder them, or to change the list-box values directly by clicking and editing. How can i do this? I'm not sure where in the

Re: [racket-users] saving a BMP in racket

2015-07-22 Thread copycat
Yes, i can and will try with the old imagemagick bindings. On Thursday, July 23, 2015 at 6:28:00 AM UTC+8, johnbclements wrote: > > On Jul 20, 2015, at 4:11 AM, copycat wrote: > > > > Hi, not sure if this is considered a bug? > > > > (send model save-file "m

[racket-users] saving a BMP in racket

2015-07-20 Thread copycat
Hi, not sure if this is considered a bug? (send model save-file "model1.bmp" 'bmp) save-file in bitmap%: kind saving not yet implemented: 'bmp I found this link, and it's been 2 years since. Is it an update that will take a long time? http://stackoverflow.com/questions/14987784/how-can-i-save-

[racket-users] Re: could i get some feedback and help on a graphical editor project?

2015-07-08 Thread copycat
What i meant to say was implementing a -interactive- canvas showing a giant high resolution image. -- 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+

[racket-users] could i get some feedback and help on a graphical editor project?

2015-07-08 Thread copycat
Hello all, feedback is most appreciated. I had a lot of fun writing this small program (see bottom for details and repository link), and i want to improve my skills so i can write idiomatic Scheme/Racket code one day. Particularly helpful would be suggestions as to where i can use macros to r