コード例 #1
0
ファイル: layout.py プロジェクト: brechin/pdfminer2
 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
コード例 #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
コード例 #3
0
ファイル: layout.py プロジェクト: Web5design/pdfminer
 def __init__(self, linewidth, pts):
     LTComponent.__init__(self, get_bound(pts))
     self.pts = pts
     self.linewidth = linewidth
     return
コード例 #4
0
ファイル: layout.py プロジェクト: AngeloYan/fireBalloon
 def __init__(self, linewidth, pts):
     LTComponent.__init__(self, get_bound(pts))
     self.pts = pts
     self.linewidth = linewidth
     return
コード例 #5
0
ファイル: layout.py プロジェクト: jjh42/countdr
 def __init__(self, linewidth, pts):
     self.pts = pts
     self.linewidth = linewidth
     LTItem.__init__(self, get_bound(pts))
     return
コード例 #6
0
 def __init__(self, linewidth, pts):
     self.pts = pts
     self.linewidth = linewidth
     LTItem.__init__(self, get_bound(pts))
     return