コード例 #1
0
 def capture_display(self):
     quartz.CGDisplayCapture(self._cg_display_id)
コード例 #2
0
 def set_mode(self, mode):
     assert mode.screen is self
     quartz.CGDisplayCapture(self._cg_display_id)
     quartz.CGDisplaySetDisplayMode(self._cg_display_id, mode.cgmode, None)
     self.width = mode.width
     self.height = mode.height