コード例 #1
0
ファイル: clutter-test.py プロジェクト: lpsinger/clutterscope
def vline(x, y1, y2):
    """Draw a vertical line from (x, y1) to (x, y2)."""
    cogl.path_line(x, y1, x, y2)
コード例 #2
0
ファイル: clutter-test.py プロジェクト: lpsinger/clutterscope
def vline(x, y1, y2):
    """Draw a vertical line from (x, y1) to (x, y2)."""
    cogl.path_line(x, y1, x, y2)
コード例 #3
0
ファイル: clutter-test.py プロジェクト: lpsinger/clutterscope
def hline(y, x1, x2):
    """Draw a horizontal line from (x1, y) to (x2, y)."""
    cogl.path_line(x1, y, x2, y)
コード例 #4
0
ファイル: clutter-test.py プロジェクト: lpsinger/clutterscope
def hline(y, x1, x2):
    """Draw a horizontal line from (x1, y) to (x2, y)."""
    cogl.path_line(x1, y, x2, y)