public void DrawHorzLine(int xLeft, int xRight, int y, int dyHeight, int cdx, int[] rgdx, ref int dxStart) { Assert.That(cdx, Is.EqualTo(rgdx.Length)); if (DrawActions == null) DrawActions = new List<object>(); DrawActions.Add(new DrawHorzLineAction() { Left = xLeft, Right = xRight, Y = y, Height = dyHeight, Rgdx = rgdx, DxStart = dxStart }); }