Topleft of an object does NOT belong to the object's rect

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Topleft of an object does NOT belong to the object's rect

Post by [-hh] » Sun Apr 27, 2014 10:34 pm

..........
Last edited by [-hh] on Wed Aug 13, 2014 12:45 pm, edited 1 time in total.
shiftLock happens

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10333
Joined: Wed May 06, 2009 2:28 pm

Re: Topleft of an object does NOT belong to the object's rec

Post by dunbarx » Sun Apr 27, 2014 11:47 pm

Hermann.

This oddity was raised several years ago, the "inclusive" vs "exclusive" array of points that define a rect. I will try to find it. I think this had more to do with including the pixels that lay on two parallel lines (like the left and right vertical lines of a button, say), and whether both were counted when finding the width of that object. But of course this is the same issue.

Jacque? Mark S. and Mark W.? Do you remember this? We came to some sort of resolution, or at least some sort of realization. Others may recall as well. I will try to find it.

Pixels are not mathematical points, eh Hermann?

Craig

[-hh]
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2262
Joined: Thu Feb 28, 2013 11:52 pm

Re: Topleft of an object does NOT belong to the object's rec

Post by [-hh] » Mon Apr 28, 2014 12:47 am

..........
shiftLock happens

Post Reply