20.01.2013 Views

ReportLab Graphics and SVG Integratation

ReportLab Graphics and SVG Integratation

ReportLab Graphics and SVG Integratation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

portLab<br />

epor ReportL<br />

portLa<br />

Collections of customised reusable shapes<br />

portLa<br />

Widgets<br />

Repor Rep<br />

Domain-specific graphics libraries<br />

Sample:<br />

portL Repor<br />

from reportlab.graphics.widgets \<br />

import signs<strong>and</strong>symbols as sas<br />

from reportlab.lib.colors \<br />

import chartreuse<br />

smiley = sas.SmileyFace()<br />

smiley.fillColor = chartreuse<br />

smiley.size = 100

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!