Initial Commit
This commit is contained in:
23
Charts/Filters/IPointsFilter.cs
Normal file
23
Charts/Filters/IPointsFilter.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Windows;
|
||||
using System;
|
||||
|
||||
namespace Microsoft.Research.DynamicDataDisplay.Filters
|
||||
{
|
||||
/// <summary>Provides algorithm for filtering point lists in screen coordinates</summary>
|
||||
public interface IPointsFilter
|
||||
{
|
||||
|
||||
/// <summary>Performs filtering</summary>
|
||||
/// <param name="points">List of source points</param>
|
||||
/// <returns>List of filtered points</returns>
|
||||
List<Point> Filter(List<Point> points);
|
||||
|
||||
/// <summary>Sets visible rectangle in screen coordinates</summary>
|
||||
/// <param name="rect">Screen rectangle</param>
|
||||
/// <remarks>Should be invoked before first call to <see cref="Filter"/></remarks>
|
||||
void SetScreenRect(Rect screenRect);
|
||||
|
||||
event EventHandler Changed;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user