func NSUIGraphicsPushContext()

in Source/Charts/Utils/Platform+Graphics.swift [81:86]


func NSUIGraphicsPushContext(_ context: CGContext)
{
    let cx = NSGraphicsContext(cgContext: context, flipped: true)
    NSGraphicsContext.saveGraphicsState()
    NSGraphicsContext.current = cx
}