![]() ![]() (send a-dc draw-bitmap (image->bitmap i) X Y) ![]() Here is an example that shows that having two different sets of x and y variables work. This means all threads are drawing at the same place. How can I have them preserve initially sent x and y values? I cannot have any argument in thunk function because it has to be sent to thread function that needs an argument-less function argument! (I hope my complex statement/argument is functionally correct).Įach thread is referring to the same x and y coordinates. Apparently, previous threads also take new x and y values. However, only third animation runs while others show only the largest circle (first image). (send a-dc draw-bitmap (image->bitmap i) x y) (send image draw dc 0 0 0 0 width height 0 0 #f) (define images (list (circle 30 "outline" "red") I am trying following code: #lang racket/gui
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |