[PD] 'relocate' message

Hans-Christoph Steiner hans at at.or.at
Wed Jan 20 00:39:15 CET 2010


On Jan 6, 2010, at 4:02 PM, Jonathan Wilkes wrote:

>
>
> --- On Sun, 1/3/10, Hans-Christoph Steiner <hans at at.or.at> wrote:
>
>> From: Hans-Christoph Steiner <hans at at.or.at>
>> Subject: Re: [PD] 'relocate' message
>> To: "Jonathan Wilkes" <jancsika at yahoo.com>
>> Cc: "Pd List" <pd-list at iem.at>
>> Date: Sunday, January 3, 2010, 7:14 AM
>>
>
> [...]
>
>> Hmm, that makes sense. I wonder if this should just have
>> the same
>> syntax as 'canvas', so:
>>
>> relocate x1 y1 x2 y2
>>
>> Where x is the upper left corner, and y is the lower right
>> corner.
>>
>> .hc
>
> That's not right.  The syntax of 'canvas' is:
> canvas topLeftX topLeftY Width Height (not including the menu/title  
> bar)
>
> -Jonathan

Hmm, you are indeed right.  That's how the internal canvas_setbounds()  
function specs the coords and how t_glist stores them, unfortunately...

.hc

----------------------------------------------------------------------------

"[W]e have invented the technology to eliminate scarcity, but we are  
deliberately throwing it away to benefit those who profit from  
scarcity."        -John Gilmore






More information about the Pd-list mailing list