def get_screen_caps(self): return { "antialias": get_antialias_info(), "icc": self.get_icc_info(), "display-icc": self.get_display_icc_info(), "cursor": { "size": int(2 * get_cursor_size() / (self.xscale + self.yscale)), }, }
def get_screen_caps(self) -> dict: caps = { "vrefresh" : self.get_vrefresh(), "antialias" : get_antialias_info(), "cursor" : { "size" : int(2*get_cursor_size()/(self.xscale+self.yscale)), }, } if SYNC_ICC: caps.update({ "icc" : self.get_icc_info(), "display-icc" : self.get_display_icc_info(), }) return caps