Table Of Contents

Previous topic

TextConverter

Next topic

TreeLayout

This Page

phoenix_title Transform

Transform interface.


class_hierarchy Inheritance Diagram

Inheritance diagram for class Transform

Inheritance diagram of Transform


method_summary Methods Summary

__init__  
GetSize Returns the size of the entire tree as laid out and transformed
Transform This method should only change the projx and projy attributes of

api Class API



class Transform

Transform interface.


Methods



__init__(self, tree)


GetSize(self)

Returns the size of the entire tree as laid out and transformed as a tuple



Transform(self, node, offset, rotation)

This method should only change the projx and projy attributes of the node. These represent the position of the node as it should be drawn on screen. Adjusting the x and y attributes can and should cause havoc.