[Cuis-dev] Difference between BoxedMorph>>extentInWorld and BoxedMorph>>morphExtent?

Juan Vuletich juan at cuis.st
Thu Feb 27 13:15:00 PST 2025


Hi Hannes,

On 2/27/2025 4:36 PM, H. Hirzel via Cuis-dev wrote:
> Hi
>
> In the example below the values for BoxedMorph>>extentInWorld and 
> BoxedMorph>>morphExtent are the same.
>
> Under which conditions do they differ?
>
> Regards
>
> Hannes

They differ if you rotate or scale your window (for instance, using the 
halo). Or, in general, if any morph in the owner path rotates or scales 
its contents. Any of these will change #extentInWorld, but won't change 
#morphExtent.

Cheers,

-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich



More information about the Cuis-dev mailing list