<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html40/loose.dtd"> <html> <head> <title>Class: png_cairo_exporter</title> </head> <body bgcolor="#ffffff"> <p><i><a href="../../../index.html">Table of Contents</a></i></p> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <th rowspan="2" valign="top" align="left" width="10%" bgcolor="#88bbee"><font color="#000000">Class: png_cairo_exporter</font> </th> <th bgcolor="#88bbee" width="90%" align="right"><font color="#000000">../bkchem/plugins/png_cairo.py</font> </th> </tr> <tr> <td> <p>Exports PNG files via the Cairo (pycairo) library. The output is usually quite good, with unicode support and antialiased fonts. The output should look the same as the PDF (Cairo) export.</p> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="Base Classes">Base Classes</a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000"> </font> </th> </tr> <tr> <td> cairo_exporter<br> </td></tr> </table> <table border="0" cellpadding="5" cellspacing="0" width="100%"> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="Methods">Methods</a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000"> </font> </th> </tr> <tr> <td> <a href="#__init__">__init__</a><br> <a href="#get_scaling">get_scaling</a><br> <a href="#init_context">init_context</a><br> <a href="#init_surface">init_surface</a><br> <a href="#save">save</a><br> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="__init__"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">__init__ </font> </th> </tr> <tr> <td> <font color="#000088"><pre> __init__ ( self, paper ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="get_scaling"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">get_scaling </font> </th> </tr> <tr> <td> <font color="#000088"><pre> get_scaling ( self, x, y, ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="init_context"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">init_context </font> </th> </tr> <tr> <td> <font color="#000088"><pre> init_context ( self ) </pre></font> <p>to be overriden; should be called after init_surface</p> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="init_surface"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">init_surface </font> </th> </tr> <tr> <td> <font color="#000088"><pre> init_surface ( self ) </pre></font> <tr> <th bgcolor="#99ccff" rowspan="2" valign="top" align="left" width="20%" > <font color="#000000"> <a name="save"></a> </font> </th> <th bgcolor="#99ccff" valign="top" align="left" width="80%" > <font color="#000000">save </font> </th> </tr> <tr> <td> <font color="#000088"><pre> save ( self ) </pre></font> </td></tr> </td></tr> </table> </td> </tr> </table> <hr> <p><i><a href="../../../index.html">Table of Contents</a></i></p> <font size="-2"><i>This document was automatically generated on Tue Dec 12 13:46:48 2006 by <a href="http://happydoc.sourceforge.net">HappyDoc</a> version 2.1</i></font> </body> </html>