Size2f constructor

Size2f(
  1. double width,
  2. double height
)

Implementation

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