Table of Contents

Class: cairo_exporter | ../bkchem/plugins/cairo_lowlevel.py
--- | ---
Base Classes |
--- | ---
plugin.exporter
Methods |
--- | ---
__init__ get_scaling init_context init_surface on_begin save write_to_file
| __init__
    __init__ (
            self,
            paper,
            converter_class=None,
            )
converter_class is the class used for convert, it is tk2piddle or its derivative
| get_scaling
    get_scaling (
            self,
            x,
            y,
            )
x and y are the original sizes of the drawing
| init_context
    init_context ( self )
to be overriden; should be called after init_surface
| init_surface
    init_surface ( self )
to be overriden; makes use of self.pagesize and self.filename
| on_begin
    on_begin ( self,  scaling=None )
| save
    save ( self )
to be overriden; makes use of self.filename
| write_to_file
    write_to_file ( self,  name )

Table of Contents

This document was automatically generated on Tue Dec 12 13:46:48 2006 by HappyDoc version 2.1