initWithCGImage$1 method
UIImage
initWithCGImage$1(
- Pointer<
CGImage> cgImage, { - required double scale,
- required UIImageOrientation orientation,
initWithCGImage:scale:orientation:
Implementation
UIImage initWithCGImage$1(
ffi.Pointer<CGImage> cgImage, {
required double scale,
required UIImageOrientation orientation,
}) {
objc.checkOsVersionInternal('UIImage.initWithCGImage:scale:orientation:', iOS: (false, (4, 0, 0)));
final $ret = _objc_msgSend_16go90j(
object$.ref.retainAndReturnPointer(),
_sel_initWithCGImage_scale_orientation_,
cgImage,
scale,
orientation.value,
);
return UIImage.fromPointer($ret, retain: false, release: true);
}