Re: [racket-users] transparency in Pict

2019-09-10 Thread George Neuner
Or create a region with a hole through it and use it to clip the drawing. George On 9/10/2019 8:12 AM, Robby Findler wrote: Another trick I use is to crop the picture that is nominally below the image and then just draw it again, but this time on top. Robby On Mon, Sep 9, 2019 at 2:15 PM

Re: [racket-users] transparency in Pict

2019-09-10 Thread Robby Findler
Another trick I use is to crop the picture that is nominally below the image and then just draw it again, but this time on top. Robby On Mon, Sep 9, 2019 at 2:15 PM Jens Axel Søgaard wrote: > You can use a path with an even-odd-fill to cut out parts. > > An example: > > #lang racket > (require

[racket-users] competition feedback

2019-09-10 Thread Stephen De Gabrielle
Hi Racketeers, I included some optional questions in the voting for the community choice. As the responses were anonymous, and generally very positive and/or reasonable, I thought I’d share them with you. I’d like to recruit a small team to run the next comp - ideally dividing up the tasks so

Re: [racket-users] transparency in Pict

2019-09-10 Thread Jens Axel Søgaard
Den tir. 10. sep. 2019 kl. 14.54 skrev George Neuner : > > Or create a region with a hole through it and use it to clip the drawing. > Great suggestion. That's much better than using pict->bitmap. I have extended "clipped" to handle regions defined by more than one path. Now (clipped c ... p)

Re: [racket-users] no TR support for streams?

2019-09-10 Thread 'John Clements' via Racket Users
Oh! and in fact, you already bundled it as a pkg: https://pkgs.racket-lang.org/package/typed-racket-stream Thanks! John > On Sep 7, 2019, at 2:23 PM, Alex Knauth wrote: > > >> On Sep 6, 2019, at 1:04 PM, 'John Clements' via Racket Users >> wrote: >> >> Perhaps I just don’t know how to

Re: [racket-users] transparency in Pict

2019-09-10 Thread Hendrik Boom
On Tue, Sep 10, 2019 at 03:23:43PM +0200, Jens Axel Søgaard wrote: > Den tir. 10. sep. 2019 kl. 14.54 skrev George Neuner : > > > > > Or create a region with a hole through it and use it to clip the drawing. > > > > Great suggestion. That's much better than using pict->bitmap. > > I have

Re: [racket-users] transparency in Pict

2019-09-10 Thread Jens Axel Søgaard
Den tir. 10. sep. 2019 kl. 17.04 skrev Hendrik Boom : > On Tue, Sep 10, 2019 at 03:23:43PM +0200, Jens Axel Søgaard wrote: > > > I have extended "clipped" to handle regions defined by more than one > path. > > Now (clipped c ... p) will make a region from the curves c ... and use > > the region

Re: [racket-users] transparency in Pict

2019-09-10 Thread George Neuner
On 9/10/2019 11:23 AM, Jens Axel Søgaard wrote: Den tir. 10. sep. 2019 kl. 17.04 skrev Hendrik Boom mailto:hend...@topoi.pooq.com>>: On Tue, Sep 10, 2019 at 03:23:43PM +0200, Jens Axel Søgaard wrote: > I have extended "clipped" to handle regions defined by more than one path.

Re: [racket-users] Simple macro issues

2019-09-10 Thread Philip McGrath
`On Tue, Sep 10, 2019 at 1:19 AM Simon Haines < simon.hai...@con-amalgamate.net> wrote: > This is a rather unpleasant pitfall of the REPL. If you try to evaluate >> the expression `(if #f some-unbound-identifier 1)`, you will see that it >> evaluates to `#f` in the REPL but raises an unbound

Re: [racket-users] Downloadable tutorials (e.g. on github)? Tutorial example source codes samples attached to DrRacket instalation?

2019-09-10 Thread Philip McGrath
On Tue, Sep 10, 2019 at 1:31 AM Prokop Hapala wrote: > "File > Open Require Path …" ... "/usr/share/racket/pkgs/games/" > > it is strange ... on one computer (at work) it works, on other (at home) > it does not want to open that directory (the dialog is a bit too > minimalistic so I don't know