                }
                Dir::Horiz
            }
            // Polygon and Path elements always horizontal, at least for now
            Shape::Poly { .. } | Shape::Path { .. } => Dir::Horiz,
        }
    }
    /// Shift coordinates by the (x,y) values specified in `pt`
    pub fn shift(&mut self, pt: &Point) {
        match *self {
            Shape::Rect {
                ref mut p0,
                ref mut p1,