Here's some actual Swift code for drawing a gradient; con is a CGContext, sp is a CGColorSpace, and grad is a CGGradient (all of them being CFTypeRefs): let ...
確定! 回上一頁