Exemplo n.º 1
0
def vline(x, y1, y2):
    """Draw a vertical line from (x, y1) to (x, y2)."""
    cogl.path_line(x, y1, x, y2)
Exemplo n.º 2
0
def vline(x, y1, y2):
    """Draw a vertical line from (x, y1) to (x, y2)."""
    cogl.path_line(x, y1, x, y2)
Exemplo n.º 3
0
def hline(y, x1, x2):
    """Draw a horizontal line from (x1, y) to (x2, y)."""
    cogl.path_line(x1, y, x2, y)
Exemplo n.º 4
0
def hline(y, x1, x2):
    """Draw a horizontal line from (x1, y) to (x2, y)."""
    cogl.path_line(x1, y, x2, y)