Okay, I've added it. It is pretty straightforward to define it in your own code in the meantime, Patrick:
(define (put-image i1 x y i2) (place-image i1 x (- (image-height i2) y) i2)) Robby On Sun, Feb 7, 2021 at 5:32 AM Stephen De Gabrielle <spdegabrie...@gmail.com> wrote: > +1 > > > On Sun, 7 Feb 2021 at 03:41, Robby Findler <ro...@cs.northwestern.edu> > wrote: > >> Any objection to adding it to 2htdp/image? >> >> Robby >> >> On Sat, Feb 6, 2021 at 6:32 PM Sorawee Porncharoenwase < >> sorawee.pw...@gmail.com> wrote: >> >>> As explained in documentation of WeScheme >>> <https://www.wescheme.org/doc/wescheme.html#%28def._%28%28lib._2htdp%2Fimage..rkt%29._place-image%29%29>, >>> put-image is only available in WeScheme. Racket and its libraries don’t >>> have this function. >>> >>> It’s easy to implement it yourself, however, by using place-image and >>> image-height. Both are available in 2htdp/image >>> >>> On Sat, Feb 6, 2021 at 3:24 PM patric...@gmail.com < >>> patrick.es...@gmail.com> wrote: >>> >>>> >>>> What do I need to do to be able to use the "put-image" method from >>>> WeScheme? I am starting off my program with: >>>> >>>> >>>> >>>> *#lang htdp/bsl(require 2htdp/image)* >>>> >>>> Is there another package I need to use? >>>> >>>> -- >>>> 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. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/racket-users/c8788557-0fe6-46a2-be1a-1dbb432ab939n%40googlegroups.com >>>> <https://groups.google.com/d/msgid/racket-users/c8788557-0fe6-46a2-be1a-1dbb432ab939n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> 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. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/racket-users/CADcuegvDB8a%2BN13xcr6dcgDo4z92sDqDA%2BkU%3DhjnHffGN1h8Vg%40mail.gmail.com >>> <https://groups.google.com/d/msgid/racket-users/CADcuegvDB8a%2BN13xcr6dcgDo4z92sDqDA%2BkU%3DhjnHffGN1h8Vg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> 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. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/racket-users/CAL3TdOPsOKNE6VF606sgX2TZMwug5siPXEiXuVhjSZTfD4JP5A%40mail.gmail.com >> <https://groups.google.com/d/msgid/racket-users/CAL3TdOPsOKNE6VF606sgX2TZMwug5siPXEiXuVhjSZTfD4JP5A%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > ---- > > -- > 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. > To view this discussion on the web visit > https://groups.google.com/d/msgid/racket-users/CAGHj7-KsQQsx0be-m6mG4ORsMgr9zr2qWh2JZc3QH%2B_RZG7YZA%40mail.gmail.com > <https://groups.google.com/d/msgid/racket-users/CAGHj7-KsQQsx0be-m6mG4ORsMgr9zr2qWh2JZc3QH%2B_RZG7YZA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAL3TdOPRqZts5WF-_ibtutNjkBwoyL%2BBvrk-iQmRrbHDrD8jng%40mail.gmail.com.