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.
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
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 extende
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) wi
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 Je
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
You can use a path with an even-odd-fill to cut out parts.
An example:
#lang racket
(require metapict metapict/polygons)
(define (cutout p x y r)
(defv (w h) (pict-size p))
(with-window (window 0 w 0 h)
(brushstipple (pict->bitmap p)
(eofill (rectangle (pt 0 0) (pt w h)
7 matches
Mail list logo