Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
clip as well as drawing

src/r/e/reportlab-3.1.8/tests/test_pdfgen_general.py   reportlab(Download)
            p.rect(x0, y0, 0.85*cm, 0.85*cm)
    c.addLiteral('%Begin clip path')
    c.clipPath(p)
    c.addLiteral('%End clip path')
    t = c.beginText(3 * cm, 22.5 * cm)
    p.lineTo(5.5*inch,2.1*inch)
    p.close()
    c.clipPath(p)
 
    # Draw a linear gradient from (0, 2*inch) to (5*inch, 3*inch), from orange to white.

src/m/w/mwlib.ext-0.13.2/upstream-src/tests/test_pdfgen_general.py   mwlib.ext(Download)
            p.rect(x0, y0, 0.85*cm, 0.85*cm)
    c.addLiteral('%Begin clip path')
    c.clipPath(p)
    c.addLiteral('%End clip path')
    t = c.beginText(3 * cm, 22.5 * cm)

src/r/e/ReportLab-HEAD/tests/test_pdfgen_general.py   ReportLab(Download)
            p.rect(x0, y0, 0.85*cm, 0.85*cm)
    c.addLiteral('%Begin clip path')
    c.clipPath(p)
    c.addLiteral('%End clip path')
    t = c.beginText(3 * cm, 22.5 * cm)