def rounded_rect(surface, color, rect, width, corner_radius): rect = offset.rect_offset(rect) _rounded_rect(surface, color, rect, width, corner_radius)
def arc(surface, color, rect, angle_start, angle_stop, width=0): rect = offset.rect_offset(rect) return backend.arc(surface, color, rect, angle_start, angle_stop, width)
def ellipse(surface, color, rect, width=0): rect = offset.rect_offset(rect) return backend.ellipse(surface, color, rect, width)
def rect(surface, color, rect, width=0): rect = offset.rect_offset(rect) return backend.rect(surface, color, rect, width)