Table of Contents

Class: tk2piddle bkchem/plugins/tk2piddle.py
Methods   
__init__
_create_arrow
_draw_line
_draw_oval
_draw_polygon
_draw_rectangle
_draw_text
_flat_list_to_list_of_tuples
draw_document
export_to_piddle_canvas
paper_to_canvas_color
paper_to_canvas_coord
prepare_dumb_transformer
  __init__ 
__init__ ( self )

  _create_arrow 
_create_arrow (
        self,
        shape,
        start,
        to,
        color,
        )

creates an arrow with shape pointing from start to to filled with color and returns x, y - where the to should be to not to overlay the arrow

  _draw_line 
_draw_line ( self,  item )

  _draw_oval 
_draw_oval ( self,  item )

  _draw_polygon 
_draw_polygon ( self,  item )

  _draw_rectangle 
_draw_rectangle ( self,  item )

  _draw_text 
_draw_text ( self,  item )

  _flat_list_to_list_of_tuples 
_flat_list_to_list_of_tuples ( self,  coords )

  draw_document 
draw_document ( self )

  export_to_piddle_canvas 
export_to_piddle_canvas (
        self,
        tk_canvas,
        piddle_canvas,
        transformer=None,
        )

  paper_to_canvas_color 
paper_to_canvas_color ( self,  color )

  paper_to_canvas_coord 
paper_to_canvas_coord ( self,  x )

  prepare_dumb_transformer 
prepare_dumb_transformer ( self )


Table of Contents

This document was automatically generated on Wed Jun 1 11:05:35 2005 by HappyDoc version 2.1