Size2f constructor

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

Implementation

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