factory Point(int x, int y) { final ptr = calloc<cvg.Point>() ..ref.x = x ..ref.y = y; return Point.fromPointer(ptr); }