7542: refactor LayoutFarm.Drawing