GitUI.RevisionGrid.AdjustCellBounds C# (CSharp) Метод

AdjustCellBounds() приватный статический Метод

private static AdjustCellBounds ( Rectangle cellBounds, float offset ) : Rectangle
cellBounds System.Drawing.Rectangle
offset float
Результат System.Drawing.Rectangle
        private static Rectangle AdjustCellBounds(Rectangle cellBounds, float offset)
        {
            return new Rectangle((int)(cellBounds.Left + offset), cellBounds.Top + 4,
                                 cellBounds.Width - (int)offset, cellBounds.Height);
        }
RevisionGrid