This function creates a new WinMap and optionally initialises its
attributes.
A Winmap is a linear Mapping which transforms a rectangular
window in one coordinate system into a similar window in another
coordinate system by scaling and shifting each axis (the window
edges being parallel to the coordinate axes).
A WinMap is specified by giving the coordinates of two opposite
corners (A and B) of the window in both the input and output
coordinate systems.