def render(self):
        x,y = director.get_window_size()
        ys = y//4
        ye = ys*3
        xs = x//4
        line_width = 50
        self.set_color( (255,255,0,180) )
        self.set_stroke_width( line_width )

        # draw lines
        self.set_endcap( draw.ROUND_CAP )
        self.move_to( (x//2, y//2-line_width//2) ); self.line_to( (x//2-300,300-y//2) )
dataset/ETHPy150Open los-cocos/cocos/test/test_draw_resolution.py/TestFigure.render/swapped operands of `-`