When I draw freehand lines, curves, circles or any other strokes on a touch screen, I need an algorithm to tell if any enclosed area is formed in a stroke. For example if a lowercase 'e' is drawn, there's an enclosed area in it, but letters like 'm', 'w' don't have any enclosed areas in them.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.