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