p = dlsym(h, "CGContextDrawSVGDocument") else { fatalError(String(cString: dlerror())) } let CGContextDrawSVGDocument = unsafeBitCast(p, to: DrawFn.self) let size = CGSize(width: 191.19, height: 59.39) let render = UIGraphicsImageRenderer(size: size) let uiImage = render.image { (context) in let cgContext = context.cgContext cgContext.translateBy(x: 0, y: size.height) cgContext.scaleBy(x: 1, y: -1) CGContextDrawSVGDocument(cgContext, document) } J04Ͱ47(ը૾Λѻ͏