factory Size.fromRecord((int, int) record) { final p = calloc<cvg.Size>() ..ref.height = record.$2 ..ref.width = record.$1; return Size.fromPointer(p); }