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

All Samples(57)  |  Call(57)  |  Derive(0)  |  Import(0)
Set the fill color using positive color description
(Red,Green,Blue).  Takes 3 arguments between 0.0 and 1.0

src/d/j/django-admin-report-HEAD/example/lib/reportlab/pdfbase/pdfform.py   django-admin-report(Download)
    textFieldRelative(c, "fieldA_1", 100, 600, 100, 20, "default value 2")
    c.setStrokeColorRGB(1,0,0)
    c.setFillColorRGB(0,1,0.5)
    textFieldRelative(c, "fieldB_1", 100, 300, 100, 50, "another default value 2", multiline=1)
    selectFieldRelative(c, "fieldC_1", "France 1", ["Canada 0", "France 1", "China 2"], 100, 200, 100, 20)

src/p/y/PyPDF2-1.21/Sample_Code/makesimple.py   PyPDF2(Download)
def make_pdf_file(output_filename, np):
    title = output_filename
    c = canvas.Canvas(output_filename, pagesize=(8.5 * inch, 11 * inch))
    c.setStrokeColorRGB(0,0,0)
    c.setFillColorRGB(0,0,0)

src/m/w/mwlib.ext-0.13.2/upstream-src/src/reportlab/pdfbase/pdfform.py   mwlib.ext(Download)
    textFieldRelative(c, "fieldA_1", 100, 600, 100, 20, "default value 2")
    c.setStrokeColorRGB(1,0,0)
    c.setFillColorRGB(0,1,0.5)
    textFieldRelative(c, "fieldB_1", 100, 300, 100, 50, "another default value 2", multiline=1)
    selectFieldRelative(c, "fieldC_1", "France 1", ["Canada 0", "France 1", "China 2"], 100, 200, 100, 20)

src/r/e/reportlab-3.1.8/src/reportlab/pdfbase/pdfform.py   reportlab(Download)
    textFieldRelative(c, "fieldA_1", 100, 600, 100, 20, "default value 2")
    c.setStrokeColorRGB(1,0,0)
    c.setFillColorRGB(0,1,0.5)
    textFieldRelative(c, "fieldB_1", 100, 300, 100, 50, "another default value 2", multiline=1)
    selectFieldRelative(c, "fieldC_1", "France 1", ["Canada 0", "France 1", "China 2"], 100, 200, 100, 20)

src/r/e/ReportLab-HEAD/src/reportlab/pdfbase/pdfform.py   ReportLab(Download)
    textFieldRelative(c, "fieldA_1", 100, 600, 100, 20, "default value 2")
    c.setStrokeColorRGB(1,0,0)
    c.setFillColorRGB(0,1,0.5)
    textFieldRelative(c, "fieldB_1", 100, 300, 100, 50, "another default value 2", multiline=1)
    selectFieldRelative(c, "fieldC_1", "France 1", ["Canada 0", "France 1", "China 2"], 100, 200, 100, 20)

src/t/e/termite-data-server-HEAD/web2py/gluon/contrib/pdfinvoice.py   termite-data-server(Download)
            canvas.saveState()
            canvas.setStrokeColorRGB(0.9, 0.5, 0.2)
            canvas.setFillColorRGB(0.2, 0.2, 0.2)
            canvas.setFont(self.font_face, 16)
            canvas.drawString(1 * cm, -1 * cm, invoice.get('title',''))

src/t/e/termite-visualizations-HEAD/web2py/gluon/contrib/pdfinvoice.py   termite-visualizations(Download)
            canvas.saveState()
            canvas.setStrokeColorRGB(0.9, 0.5, 0.2)
            canvas.setFillColorRGB(0.2, 0.2, 0.2)
            canvas.setFont(self.font_face, 16)
            canvas.drawString(1 * cm, -1 * cm, invoice.get('title',''))

src/w/e/web2py-HEAD/gluon/contrib/pdfinvoice.py   web2py(Download)
            canvas.saveState()
            canvas.setStrokeColorRGB(0.9, 0.5, 0.2)
            canvas.setFillColorRGB(0.2, 0.2, 0.2)
            canvas.setFont(self.font_face, 16)
            canvas.drawString(1 * cm, -1 * cm, invoice.get('title',''))

src/r/o/rooibos-HEAD/rooibos/presentation/viewers.py   rooibos(Download)
            p.line(inch / 2, height / 3 * 2, width - inch / 2, height / 3 * 2)
            p.setFont('Helvetica', 8)
            p.setFillColorRGB(0.8, 0.8, 0.8)
            p.drawString(inch, height / 3 - 3 * inch / 72, 'Cut here')
            p.drawString(inch, height / 3 * 2 - 3 * inch / 72, 'Cut here')
                if data:
                    p.setFont('Helvetica', 8)
                    p.setFillColorRGB(0, 0, 0)
                    p.drawRightString(width - inch / 2, inch / 2, '...')
 

src/o/t/otl-HEAD/otl/apps/timetable/views.py   otl(Download)
            top = bottom + height
            offset = height / 2.0
            c.setFillColorRGB(0.92, 0.92, 0.92)
            c.roundRect(left, bottom, width, height, 4.0, 1, 1)
            c.setFillColorRGB(0, 0, 0)

  1 | 2 | 3  Next