memononen / nanovg

Antialiased 2D vector drawing library on top of OpenGL for UI and visualizations.
zlib License
5.15k stars 771 forks source link

how to check is click position inside a shape or not? #580

Open sadeghpro opened 4 years ago

sadeghpro commented 4 years ago

Is there any function to check that click position inside a shape or not? for example is a position inside a rounded rect or not? or any Idea to help me to achieve this functionality

ib00 commented 1 year ago

Have you ever figured this out?