calloc method

Pointer<SdlFRect> calloc()

Implementation

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