Object Selection Handles

Ali Lloyd ali.lloyd at livecode.com
Tue Mar 28 12:08:57 EDT 2017


The code hit-detects as if the handles were square, so the hit-detection
area is actually bigger than it used to be.

On Tue, Mar 28, 2017 at 4:51 PM Richard Gaskin via use-livecode <
use-livecode at lists.runrev.com> wrote:

> Ali Lloyd wrote:
>
>  > Instead of declaring that this is how it should be, it's much better
>  > to provide examples and justification. I just checked, and every
>  > application I have on this computer does selection handles with the
>  > center of the handle on the boundary of the object.
>
> Centering the handle on the corrner/edge is how LibreDraw does it too.
>
> I think that makes sense, given that the user will aim for the center of
> the handle, and as such will be aiming for the corner/edge.
>
> As for shape, the justification is is that a solid square is an easier
> target to hit than an anti-aliased circle.
>
> I believe Adobe Illustrator uses circles, but AFAIK only for Bezier
> points.  Object boundary handles there seem to be square, as they are in
> LibreDraw, and historically in apps like Fireworks all the way back to
> NeXTStep Layout and MacDraw.
>
> Apple's Interface Builder uses square handles:
> <http://www.iclarified.com/images/news/48631/225956/225956-640.jpg>
>
> MSDN shows square handles even for Bezier points:
> <https://msdn.microsoft.com/en-us/library/ms819520.aspx>
>
> Xamarin also uses square handles:
> <
> https://developer.xamarin.com/guides/ios/user_interface/controls/part_1_-_creating_user_interface_objects/Images/Image8a.png
> >
>
> Qt Creator as well:
> <
> http://doc.crossplatform.ru/qtcreator/en/2.0/images/qtcreator-mobile-project-widgets.png
> >
>
> Even FileMaker Pro:
> <
> https://www.safaribooksonline.com/library/view/filemaker-pro-14/9781491917473/httpatomoreillycomsourceoreillyimages2192071.png.jpg
> >
>
> --
>   Richard Gaskin
>   Fourth World Systems
>   Software Design and Development for the Desktop, Mobile, and the Web
>   ____________________________________________________________________
>   Ambassador at FourthWorld.com                http://www.FourthWorld.com
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list