Line | |
---|
1 | using System;
|
---|
2 | using System.Windows;
|
---|
3 |
|
---|
4 | namespace Microsoft.Research.DynamicDataDisplay.DataSources
|
---|
5 | {
|
---|
6 | public interface IPointEnumerator : IDisposable {
|
---|
7 | /// <summary>Move to next point in sequence</summary>
|
---|
8 | /// <returns>True if successfully moved to next point
|
---|
9 | /// or false if end of sequence is reached</returns>
|
---|
10 | bool MoveNext();
|
---|
11 |
|
---|
12 | /// <summary>Stores current value(s) in given point.</summary>
|
---|
13 | /// <param name="p">Reference to store value</param>
|
---|
14 | /// <remarks>Depending on implementing class this method may set only X or Y
|
---|
15 | /// fields in specified point. That's why GetCurrent is a regular method and
|
---|
16 | /// not a property as in standard enumerators</remarks>
|
---|
17 | void GetCurrent(ref Point p);
|
---|
18 |
|
---|
19 | void ApplyMappings(DependencyObject target);
|
---|
20 | }
|
---|
21 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.