Пример #1
0
        void SetupPage(BlockPage page)
        {
            if (Global == null)
            {
                Global = this;
            }

            var blocks = page.AllBlocks;

            MinX      = blocks.Min(b => b.GetX());
            MaxX      = blocks.Max(b => b.GetX() + b.GetWidth());
            PageWidth = MaxX - MinX;
        }
 public ResizeBlocksetMagins(BasicFirstPageStats basicStats)
 {
     this._basicStats = basicStats.Stats;
 }
 public ResizeBlocksetsWithStats(BasicFirstPageStats basicStats)
 {
     this._basicStats = basicStats;
 }
 public static void Reset()
 {
     Global = null;
 }
Пример #5
0
 public OrganizePageLayout(BasicFirstPageStats basicStats)
 {
     this._basicStats = basicStats.Stats;
 }