Pointer<SdlRect> callocInt() { var result = ffi.calloc<SdlRect>() ..ref.x = left.toInt() ..ref.y = top.toInt() ..ref.w = width.toInt() ..ref.h = height.toInt(); return result; }