AvalonStudio.TextEditor.Rendering.TextMarkerService.CreatePoints C# (CSharp) Method

CreatePoints() private method

private CreatePoints ( Point start, Point end, double offset, int count ) : IEnumerable
start Point
end Point
offset double
count int
return IEnumerable
		private IEnumerable<Point> CreatePoints(Point start, Point end, double offset, int count)
		{
			for (var i = 0; i < count; i++)
			{
				yield return new Point(start.X + i*offset, start.Y - ((i + 1)%2 == 0 ? offset : 0));
			}
		}