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