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

All Samples(26)  |  Call(26)  |  Derive(0)  |  Import(0)

src/t/e/termite-data-server-HEAD/web2py/gluon/contrib/pdfinvoice.py   termite-data-server(Download)
            if self.logo:
                canvas.drawInlineImage(self.logo, 1 * cm, -1 * cm, 250, 16)
            canvas.setLineWidth(4)
            canvas.line(0, -1.25 * cm, 21.7 * cm, -1.25 * cm)
            canvas.restoreState()

src/t/e/termite-visualizations-HEAD/web2py/gluon/contrib/pdfinvoice.py   termite-visualizations(Download)
            if self.logo:
                canvas.drawInlineImage(self.logo, 1 * cm, -1 * cm, 250, 16)
            canvas.setLineWidth(4)
            canvas.line(0, -1.25 * cm, 21.7 * cm, -1.25 * cm)
            canvas.restoreState()

src/w/e/web2py-HEAD/gluon/contrib/pdfinvoice.py   web2py(Download)
            if self.logo:
                canvas.drawInlineImage(self.logo, 1 * cm, -1 * cm, 250, 16)
            canvas.setLineWidth(4)
            canvas.line(0, -1.25 * cm, 21.7 * cm, -1.25 * cm)
            canvas.restoreState()

src/o/t/otl-HEAD/otl/apps/timetable/views.py   otl(Download)
    c.setFont(sanserif_name, 9)
    c.drawCentredString(page_width / 2, margin_y - 15, u'Generated by OTL, a proud service of SPARCS')
    c.setLineWidth(1.2)
    c.line(margin_x, page_height - margin_y, page_width - margin_x, page_height - margin_y)
    c.line(margin_x, margin_y, page_width - margin_x, margin_y)
    c.setLineWidth(1.0)
    column_width = (page_width - timelabels_width - margin_x * 2) / 5.0
    row_height = (page_height - (margin_y + header_height) - margin_y) / 32.0
    c.setLineWidth(0.12)
    for col in xrange(6):
        col_base = margin_x + timelabels_width + (column_width * col)
    # Draw the actual timetable entries
    c.setDash([], 0)
    c.setLineWidth(0.5)
    my_lectures = Lecture.objects.filter(year=view_year, semester=view_semester, timetable__user=request.user, timetable__table_id=table_id).select_related()
    for lecture in my_lectures:

src/p/d/pdfgrid-0.2.0/pdfgrid.py   pdfgrid(Download)
        step, lw, col = style
        canv.setStrokeColor(col)
        canv.setLineWidth(lw)
 
        # draw grid (right now only regular rectangular)

src/p/a/paPyro-1.0.6/papyro/reportPdf.py   paPyro(Download)
                    self.report.params.params[i] = p                    
 
        self.canvas.setLineWidth(0.1)
 
        self.cur_page = self.report.pages[0]

src/s/i/site-HEAD/api/balloter.py   site(Download)
    watermark(c)
 
    c.setLineWidth(0.1)
    c.setStrokeColor(black)
    c.setFont(FONT, FONT_SIZE)

src/m/a/maze-1.3/maze/renderers/pdf.py   maze(Download)
    g = s * 0.2
    stroke = s / 7.0
    c.setLineWidth(stroke)
 
    k = 0.5

src/m/a/maze-HEAD/maze/renderers/pdf.py   maze(Download)
    g = s * 0.2
    stroke = s / 7.0
    c.setLineWidth(stroke)
 
    k = 0.5

src/s/i/SizeDupe Reporter-0.9.1/sizedupe/sizedupe.py   SizeDupe-Reporter(Download)
    def __init__(self, fname, defaultStrokeColor=Color.black, defaultLineWidth=MIN_CHILD*0.25, pagesize=PAGESIZE):
        self.defaultStrokeColor = defaultStrokeColor
        self.defaultLineWidth = defaultLineWidth 
        self.canvas = reportlab.pdfgen.canvas.Canvas(fname,pagesize=pagesize)
        self.canvas.setLineWidth(self.defaultLineWidth)

  1 | 2  Next