This program can compute the area of a figure which have a function that returns true if a point is inside this figure, otherwise - false.
Available figures are a circle, a quad, a triangle, any polynomial, and any polygon.
Choose a figure from a list in the Examples menu. Then enter its parameters and change the boundaries if necessary. The computed area can be seen in the Area menu. You can change the number of dots to increase or decrease precision.
I am using SFML for graphics and ImGUI for a graphical interface.