How can I define lines so when I click on the screen, my program knows whether I clicked on A B or C?

  • Test_Tickles@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago

    Seriously! How can we even make a suggestion without knowing some basic info like language or API. Even ancient Win32 (using C, C#, or VB6) has the ability to create regions and test to see if a given point is inside a specific region.