package geom import ( _image "image" "strconv" ) // Point is exposing the standard library image.Point in the geom package. type Point _image.Point // Pt is a shorthand function to create a point. func Pt(x, y int) Point { return Point{x, y} } // String formats the point p as a string. func (p Point) String() string { return "(" + strconv.Itoa(p.X) + "," + strconv.Itoa(p.Y) + ")" }