Next: , Previous: VCL general usage, Up: VCL Overview

8.1.3 Transformations

VCL widgets (called nodes here) create a tree-like hierarchy rooted in the canvas. On each level of tree, there is a transformation matrix from the current coordinate system to pixel coordinate system. So each node has its own coordinate system which is used to store its position and other coordinates. Transformation is defined relatively to the parent's coordinate system, so by changing of coordinate system of a non-leaf node all descendants of that node are altered as well.