Function

CTFrameDraw(_:_:)

Draws an entire frame into a context.

Declaration

func CTFrameDraw(_ frame: CTFrame, _ context: CGContext)

Parameters

frame

The frame to draw.

context

The context in which to draw the frame.

Discussion

If both the frame and the context are valid, the frame is drawn in the context. This call can leave the context in any state and does not flush it after the draw operation.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software