Size2f.fromSize constructor
Size2f.fromSize(
- Size size
Implementation
factory Size2f.fromSize(Size size) {
final p = calloc<cvg.Size2f>()
..ref.height = size.height.toDouble()
..ref.width = size.width.toDouble();
return Size2f.fromPointer(p);
}