Re: [racket-users] pinning in pict

2020-01-28 Thread Hendrik Boom
On Tue, Jan 28, 2020 at 04:22:45PM -0500, Benjamin Lerner wrote: > Wouldn't `(panorama (pin-over base dx dy pict))` handle this? Yes. It would. I hadn't known thei function was available, even though I had read the pict manual some time ago. But the recursive scan over the entire set of

Re: [racket-users] pinning in pict

2020-01-28 Thread Hendrik Boom
On Tue, Jan 28, 2020 at 02:42:21PM -0600, Robby Findler wrote: > You can cc-superimpose with a blank pict (perhaps that you get via > ghost/launder). Does that help? Yes ... I can calculate the size of the new bounding box from the sizes of the old picts and the offsets dx and dy, then make the

Re: [racket-users] pinning in pict

2020-01-28 Thread Robby Findler
It might affect other Picts inside, but if there aren't any, then yes. Robby On Tue, Jan 28, 2020 at 3:22 PM Benjamin Lerner wrote: > Wouldn't `(panorama (pin-over base dx dy pict))` handle this? > > > On 1/28/20 3:42 PM, Robby Findler wrote: > > You can cc-superimpose with a blank pict

Re: [racket-users] pinning in pict

2020-01-28 Thread Benjamin Lerner
Wouldn't `(panorama (pin-over base dx dy pict))` handle this? On 1/28/20 3:42 PM, Robby Findler wrote: You can cc-superimpose with a blank pict (perhaps that you get via ghost/launder). Does that help? Robby On Tue, Jan 28, 2020 at 2:39 PM Hendrik Boom > wrote:

Re: [racket-users] pinning in pict

2020-01-28 Thread Robby Findler
You can cc-superimpose with a blank pict (perhaps that you get via ghost/launder). Does that help? Robby On Tue, Jan 28, 2020 at 2:39 PM Hendrik Boom wrote: > Isn't there something like pin-over and pin-under which extends the > bounding > box to contain both the 'base' and the pict being

[racket-users] pinning in pict

2020-01-28 Thread Hendrik Boom
Isn't there something like pin-over and pin-under which extends the bounding box to contain both the 'base' and the pict being written over ot under it? The version with dx and dy would be fine for me, especially if dx and/or dy can be negative. -- hendrik -- You received this message