function getCoord( src:Point ) : Point { var dst:Point = new Point(); dst.x = 2.0 * (src.x - 0.5); dst.y = 2.0 * (0.5 - src.y); return dst; }