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 subpicts might take some 
time.

But this is may be easier than the technique with the blank pict.

--hendrik

> 
> 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:
> > 
> > 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 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/20200128203855.igwnxy36a6iontjc%40topoi.pooq.com.
> > 
> > -- 
> > 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/CAL3TdOP3%3DOyC6D9QbrL1KpdXW4PEBwwyCr3xiNN1tZnnTY9PCg%40mail.gmail.com
> >  
> > .
> 
> -- 
> 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/075752b4-4233-e18d-04de-923441c48410%40ccs.neu.edu.

-- 
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/20200128225427.vckbfc7owugn67fs%40topoi.pooq.com.


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 blank pict 
accordingly, and then use pin-over and pin-under to make pin each
original pict to the blank pict.

Yes, that would work.  It would even handle the case where I wanted to 
pin more than two picts together.

(Now why didn't I think of that?)

Thank you.

-- hendrik

-- 
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/20200128215741.jd27espexhcys4pj%40topoi.pooq.com.


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 (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 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 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/20200128203855.igwnxy36a6iontjc%40topoi.pooq.com
>> .
>>
> --
> 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/CAL3TdOP3%3DOyC6D9QbrL1KpdXW4PEBwwyCr3xiNN1tZnnTY9PCg%40mail.gmail.com
> 
> .
>
>
>

-- 
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/CAL3TdOPQJ6Cer4PKgJkp4UVFzwYJ-Z8m2TZmiRCzbRxDU-%2Bvjg%40mail.gmail.com.


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:


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 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/20200128203855.igwnxy36a6iontjc%40topoi.pooq.com.

--
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/CAL3TdOP3%3DOyC6D9QbrL1KpdXW4PEBwwyCr3xiNN1tZnnTY9PCg%40mail.gmail.com 
.


--
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/075752b4-4233-e18d-04de-923441c48410%40ccs.neu.edu.


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 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 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/20200128203855.igwnxy36a6iontjc%40topoi.pooq.com
> .
>

-- 
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/CAL3TdOP3%3DOyC6D9QbrL1KpdXW4PEBwwyCr3xiNN1tZnnTY9PCg%40mail.gmail.com.


[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 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/20200128203855.igwnxy36a6iontjc%40topoi.pooq.com.