Class ComputeMarginsStep


  • public class ComputeMarginsStep
    extends IterateVisualProcessStep
    This semi-dynamic step computes the effective margins. It requires that the model is fully computed and that all structural errors have been resolved.

    Computing the effective margins is a recursive computation. It depends on the already evaluated effective margin of the parent (for top margins), the predecessor and parent (for left) and the last child (for bottom and right margins). Todo: Some better change management. Right now everything is recomputed all the time. Margins eat 10% of the total time ..

    Author:
    Thomas Morgner