| 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 )
 |