[][src]Function pushrod::core::point::make_origin_point

pub fn make_origin_point() -> Point

Convenience method to create a Point of origin, defined as an X and Y coordinate of 0.

Example:

  let point = make_origin_point();
  eprintln!("Point: x={} y={}", point.x, point.y);