Many drafting tools and Visio can draw the diagrams with dimensions and area calculation. It is essential for architectural and technical drawings. When closed polyline is created, the tool should calculate area (in the units defined in scale of the drawing) and insert text with dimension in the plot.
This is how I want it to work:
