createCGSize function

CGSize createCGSize(
  1. double width,
  2. double height
)

Implementation

objc.CGSize createCGSize(double width, double height) {
  final ptr = calloc<objc.CGSize>();
  ptr.ref.width = width;
  ptr.ref.height = height;
  return ptr.ref;
}