.. include:: headings.inc .. currentmodule:: lib.mvctree .. highlight:: python .. _lib.mvctree.Transform: ========================================================================================================================================== |phoenix_title| **Transform** ========================================================================================================================================== Transform interface. | |class_hierarchy| Inheritance Diagram ===================================== Inheritance diagram for class **Transform** .. raw:: html

Inheritance diagram of Transform

| |method_summary| Methods Summary ================================ ================================================================================ ================================================================================ :meth:`~lib.mvctree.Transform.__init__` :meth:`~lib.mvctree.Transform.GetSize` Returns the size of the entire tree as laid out and transformed :meth:`~lib.mvctree.Transform.Transform` This method should only change the projx and projy attributes of ================================================================================ ================================================================================ | |api| Class API =============== .. class:: Transform Transform interface. .. method:: __init__(self, tree) .. method:: GetSize(self) Returns the size of the entire tree as laid out and transformed as a tuple .. method:: 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.