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