--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/20190909182018.74o322qfwehrmqaz%40topoi.pooq.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CABefVgy0cxZD1dJv6dA51_rTEFqk3wu-zBSpGdQV-eD1fmurag%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/CAL3TdOMM1rPLCGyicrcEv50USDaHmtOs-hPo4r%2BaKCACAgJw%3Dw%40mail.gmail.com.
Or create a region with a hole through it and use it to clip the drawing.
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 to clip the pict p. Most common uses:
>
> (clipped c p) the part of p inside c
> (clipped c1 c2 p) the part of p between c1 and c2 (if c2 is inside c1)
Does that mean the part of p that is inside c1 and outside c2? (which
would be meaningful even if c1 and c2 intersect? That might happen
because of numerical instability.)