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