Beispiel #1
0
def line():
    o = LineI()
    populate_shape(o)
    o.setX1(0)
    o.setY1(0)
    o.setX2(1)
    o.setY2(2)
    o.id = rlong(6L)
    return o
def line():
    o = LineI()
    populate_shape(o)
    o.setX1(0)
    o.setY1(0)
    o.setX2(1)
    o.setY2(2)
    if SCHEMA_VERSION != "2015-01":
        o.setMarkerStart("Arrow")
        o.setMarkerEnd("Arrow")
    o.id = rlong(6L)
    return o
Beispiel #3
0
def line():
    o = LineI()
    populate_shape(o)
    o.setX1(0)
    o.setY1(0)
    o.setX2(1)
    o.setY2(2)
    if SCHEMA_VERSION != '2015-01':
        o.setMarkerStart('Arrow')
        o.setMarkerEnd('Arrow')
    o.id = rlong(6L)
    return o
Beispiel #4
0
def line(identity_transform):
    o = LineI()
    populate_shape(o, identity_transform)
    o.setX1(0)
    o.setY1(0)
    o.setX2(1)
    o.setY2(2)
    if SCHEMA_VERSION != '2015-01':
        o.setMarkerStart('Arrow')
        o.setMarkerEnd('Arrow')
    o.id = rlong(6)
    return o