Draws the contents of a CGLayer object at the specified point.
- iOS 2.0+
- macOS 10.4+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The graphics context associated with the layer.
The location, in current user space coordinates, to use as the origin for the drawing.
The layer whose contents you want to draw.
Calling the function
CGContext is equivalent to calling the function
CGContext with a rectangle that has its origin at
point and its size equal to the size of the layer.