Example #1
0
def rounded_rect(surface, color, rect, width, corner_radius):
    rect = offset.rect_offset(rect)
    _rounded_rect(surface, color, rect, width, corner_radius)
Example #2
0
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)
Example #3
0
def ellipse(surface, color, rect, width=0):
    rect = offset.rect_offset(rect)
    return backend.ellipse(surface, color, rect, width)
Example #4
0
def rect(surface, color, rect, width=0):
    rect = offset.rect_offset(rect)
    return backend.rect(surface, color, rect, width)