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