getPosition method

Point<double> getPosition()

Implementation

math.Point<double> getPosition() {
  var x = calloc<Int32>();
  var y = calloc<Int32>();
  // 989
  sdlGetWindowPosition(this, x, y);
  var result = math.Point<double>(x.value.toDouble(), y.value.toDouble());
  calloc.free(x);
  calloc.free(y);
  return result;
}