imageWithCGImage static method

UIImage imageWithCGImage(
  1. Pointer<CGImage> cgImage
)

imageWithCGImage:

Implementation

static UIImage imageWithCGImage(ffi.Pointer<CGImage> cgImage) {
  objc.checkOsVersionInternal('UIImage.imageWithCGImage:', iOS: (false, (2, 0, 0)));
  final $ret = _objc_msgSend_2tjjtl(_class_UIImage, _sel_imageWithCGImage_, cgImage);
  return UIImage.fromPointer($ret, retain: true, release: true);
}