Subdiv2D.fromRect constructor

Subdiv2D.fromRect(
  1. Rect rect
)

Implementation

factory Subdiv2D.fromRect(Rect rect) {
  final p = calloc<cvg.Subdiv2D>();
  cvRun(() => cffi.Subdiv2D_NewWithRect(rect.ref, p));
  return Subdiv2D._(p);
}