getSize method

Point<double> getSize()

Implementation

math.Point<double> getSize() {
  var w = calloc<Int32>();
  var h = calloc<Int32>();
  sdlGetWindowSize(this, w, h);
  // 1059
  var result = math.Point<double>(w.value.toDouble(), h.value.toDouble());
  calloc.free(w);
  calloc.free(h);
  return result;
}