def arc(self, x, y, width, height, start, end, color, thick=<NUM_LIT:1>, _=None):
thick *= <NUM_LIT:4><EOL>self.context.set_source_rgb(*color)<EOL>self.context.save()<EOL>self.context.translate(self.tx(x+(width/<NUM_LIT:2>)), self.ty(y+(height/<NUM_LIT:2>)))<EOL>self.context.scale(self.tx(width/<NUM_LIT:2>), self.ty(height/<NUM_LIT:2>))<EOL>self.context.arc(<NUM_LIT:0.0>, <NUM_LIT:0.0>, <NUM_LIT:1.0> - (self.tx(thick)/<NUM_LIT:2>),<EOL>(<NUM_LIT:2>*math.pi*start)/<NUM_LIT>,<EOL>(<NUM_LIT:2>*math.pi*end)/<NUM_LIT><EOL>)<EOL>self.context.set_line_width(self.tx(thick))<EOL>self.context.stroke()<EOL>self.context.restore()<EOL>
This is different than the Processing function arc():
https://processing.org/reference/arc_.html

Use the Cairo arc() function to draw an arc with a given line thickness.