Rect points

Allows getting "the effective points" of graphic rectangles, round rectangles, and regular polygons.
This allows for some things that are difficult at present: setting the points of a freeform polygon to one of several regular polygon objects; moving an image around the points of a regular polygon, etc.
I think there's a memory leak here as its reallocating realpoints each time the points of a rectangle are fetched.