MCPcopy
hub / github.com/beeware/toga / save

Method save

cocoa/src/toga_cocoa/widgets/canvas.py:76–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74
75 # Context management
76 def save(self):
77 core_graphics.CGContextSaveGState(self.native)
78 self.states.append(copy(self.state))
79
80 def restore(self):
81 core_graphics.CGContextRestoreGState(self.native)

Callers 1

ellipseMethod · 0.95

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected