Home | History | Annotate | Download | only in pens

Lines Matching defs:Path

4 from reportlab.graphics.shapes import Path
9 """A pen for drawing onto a reportlab.graphics.shapes.Path object."""
11 def __init__(self, glyphSet, path=None):
13 if path is None:
14 path = Path()
15 self.path = path
19 self.path.moveTo(x,y)
23 self.path.lineTo(x,y)
29 self.path.curveTo(x1, y1, x2, y2, x3, y3)
32 self.path.closePath()
47 path = sys.argv[1]
54 font = TTFont(path) # it would work just as well with fontTools.t1Lib.T1Font
56 pen = ReportLabPen(gs, Path(fillColor=colors.red, strokeWidth=5))
65 g = Group(pen.path)