Пример #1
0
 public ColumnWalkerCcw(VerticalGroupList verticalGroupList)
 {
     _pathWriter            = null;
     _latestReadOnRightSide = false;
     _vertGroupList         = verticalGroupList;
     _vertGroupCount        = verticalGroupList.Count;
     _currentCol            = null;
 }
Пример #2
0
        public VerticalGroup(VerticalGroupList ownerVertGroupList, int groupNo,
                             HSpan[] hspans,
                             int startIndex,
                             int colCount)
        {
            _ownerVertGroupList = ownerVertGroupList;
            _hSpanColumns       = new HSpanColumn[colCount];
            GroupNo             = groupNo;
            int index = startIndex;

            for (int i = 0; i < colCount; ++i)
            {
                var col = new HSpanColumn(this, i);
                col.AddHSpan(hspans[index]);
                _hSpanColumns[i] = col;
                index++;
            }
            StartY = hspans[startIndex].y;
        }
Пример #3
0
 public VerticalGroupSeparator(VerticalGroupList verticalGroupList)
 {
     _lastestLine       = -1;
     _currentVertGroup  = null;
     _verticalGroupList = verticalGroupList;
 }