Ejemplo n.º 1
0
 def __init__(self, name, bbox, matrix):
     self.name = name
     self.matrix = matrix
     (x, y, w, h) = bbox
     bbox = get_bound(apply_matrix_pt(matrix, (p, q)) for (p, q) in ((x, y), (x + w, y), (x, y + h), (x + w, y + h)))
     LTLayoutContainer.__init__(self, bbox)
     return
Ejemplo n.º 2
0
 def __init__(self, name, bbox, matrix):
     self.name = name
     self.matrix = matrix
     (x, y, w, h) = bbox
     bbox = get_bound(apply_matrix_pt(matrix, (p, q))
                      for (p, q) in ((x, y), (x+w, y), (x, y+h), (x+w, y+h)))
     LTLayoutContainer.__init__(self, bbox)
     return
Ejemplo n.º 3
0
 def __init__(self, linewidth, pts):
     LTComponent.__init__(self, get_bound(pts))
     self.pts = pts
     self.linewidth = linewidth
     return
Ejemplo n.º 4
0
 def __init__(self, linewidth, pts):
     LTComponent.__init__(self, get_bound(pts))
     self.pts = pts
     self.linewidth = linewidth
     return
Ejemplo n.º 5
0
 def __init__(self, linewidth, pts):
     self.pts = pts
     self.linewidth = linewidth
     LTItem.__init__(self, get_bound(pts))
     return
Ejemplo n.º 6
0
 def __init__(self, linewidth, pts):
     self.pts = pts
     self.linewidth = linewidth
     LTItem.__init__(self, get_bound(pts))
     return