Exemplo n.º 1
0
def lines(surface, color, closed, points, width=1, antialias=False):
    points = [offset.pos_offset(p) for p in points]
    return backend.lines(surface, color, closed, points, width, antialias)
Exemplo n.º 2
0
def draw_font(surface, fakefont_surface, pos):
    pos = offset.pos_offset(pos)
    return backend.draw_font(surface, fakefont_surface, pos)
Exemplo n.º 3
0
def line(surface, color, startpos, endpos, width=1, antialias=False):
    startpos = offset.pos_offset(startpos)
    endpos = offset.pos_offset(endpos)
    return backend.line(surface, color, startpos, endpos, width=width, antialias=antialias)