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